CreateUiDefinition date functions
The functions to use when working with date values.
addHours
Adds an integral number of hours to the specified timestamp.
The following example returns "1991-01-01T00:59:59.000Z"
:
"[addHours('1990-12-31T23:59:59Z', 1)]"
addMinutes
Adds an integral number of minutes to the specified timestamp.
The following example returns "1991-01-01T00:00:59.000Z"
:
"[addMinutes('1990-12-31T23:59:59Z', 1)]"
addSeconds
Adds an integral number of seconds to the specified timestamp.
The following example returns "1991-01-01T00:00:00.000Z"
:
"[addSeconds('1990-12-31T23:59:60Z', 1)]"
utcNow
Returns a string in ISO 8601 format of the current date and time on the local computer.
The following example could return "1990-12-31T23:59:59.000Z"
:
"[utcNow()]"
Next steps
- For an introduction to Azure Resource Manager, see Azure Resource Manager overview.
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru