Skip to content

Commit b9470ef

Browse files
committed
add highlights to example
1 parent b41dd1f commit b9470ef

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

articles/azure-resource-manager/bicep/bicep-functions-date.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes the functions to use in a Bicep file to work with dates.
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 05/02/2022
7+
ms.date: 05/03/2022
88
---
99

1010
# Date functions for Bicep
@@ -163,7 +163,7 @@ The output is:
163163

164164
The next example uses the epoch time value to set the expiration for a key in a key vault.
165165

166-
:::code language="bicep" source="~/quickstart-templates/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/main.bicep":::
166+
:::code language="bicep" source="~/quickstart-templates/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/main.bicep" highlight="20,65":::
167167

168168
## utcNow
169169

articles/azure-resource-manager/templates/template-functions-date.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22
title: Template functions - date
33
description: Describes the functions to use in an Azure Resource Manager template (ARM template) to work with dates.
44
ms.topic: conceptual
5-
ms.date: 05/02/2022
5+
ms.date: 05/03/2022
66
---
77

88
# Date functions for ARM templates
99

1010
Resource Manager provides the following functions for working with dates in your Azure Resource Manager template (ARM template):
1111

12-
* [dateTimeAdd](#datetimeadd)
13-
* [utcNow](#utcnow)
14-
1512
> [!TIP]
1613
> We recommend [Bicep](../bicep/overview.md) because it offers the same capabilities as ARM templates and the syntax is easier to use. To learn more, see [date](../bicep/bicep-functions-date.md) functions.
1714
@@ -167,7 +164,7 @@ The output is:
167164

168165
The next example uses the epoch time value to set the expiration for a key in a key vault.
169166

170-
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/azuredeploy.json":::
167+
:::code language="json" source="~/quickstart-templates/quickstarts/microsoft.storage/storage-blob-encryption-with-cmk/azuredeploy.json" highlight="54,104":::
171168

172169
## utcNow
173170

0 commit comments

Comments
 (0)