Update: Microsoft will be moving away from UserVoice sites on a product-by-product basis throughout the 2021 calendar year. We will leverage 1st party solutions for customer feedback. Learn more here.

haavardg

My feedback

  1. 57 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    11 comments  ·  Azure Resource Manager  ·  Flag idea as inappropriate…  ·  Admin →

    Thanks for the valid suggestion. Your feedback is now open for the user community to upvote which allows us to effectively prioritize your request against our existing feature backlog and also gives us insight into the potential impact of implementing the suggested feature.

    haavardg supported this idea  · 
    An error occurred while saving the comment
    haavardg commented  · 

    A workaround is splitting the date up, and use the add() function to add to either the hour or day:

    {
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
    "utcDateDD": {
    "type": "string",
    "defaultValue": "[utcNow('dd')]"
    },
    "utcDateMM": {
    "type": "string",
    "defaultValue": "[utcNow('MM')]"
    },
    "utcDateYYYY": {
    "type": "string",
    "defaultValue": "[utcNow('yyyy')]"
    }
    },
    "variables": {
    "start-date": "[concat(parameters('utcDateYYYY'),'-', parameters('utcDateMM'),'-', add(int(parameters('utcDateDD')), 1))]"
    },
    "resources": [
    ],
    "outputs": {
    "starttime": {
    "type": "string",
    "value": "[concat(variables('start-date'),'T01:00:00+01:00')]"
    }
    }
    }

Feedback and Knowledge Base