Skip to content

Commit c39ebcc

Browse files
authored
Merge pull request #196983 from tfitzmac/0503function
add highlights to example
2 parents b41dd1f + 732d22e commit c39ebcc

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
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: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
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

10-
Resource Manager provides the following functions for working with dates in your Azure Resource Manager template (ARM template):
11-
12-
* [dateTimeAdd](#datetimeadd)
13-
* [utcNow](#utcnow)
10+
This article describes the functions for working with dates in your Azure Resource Manager template (ARM template).
1411

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.
@@ -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)