FormatDate
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns a new text string that is the text representation of a date.
Returns Invalid expression
if Date
is unknown or the indicated format is not valid for dates.
date
date time
a date
format
text or formatstring
the format is used to specify how the date should be represented, text or a format string can be used.
language
text
this parameter is used to specify the date representation of that language
ShortDate
8-4-2022
day month and year in numbers.
ShortDateTime
8-4-2022 17:51
day, month, year and time in numbers
LongDate
vrijdag 8 april 2022
day of the week and month in text with the day and year in numbers.
LongDateTime
vrijdag 8 april 2022 17:51
day of the week and month in text with the day, year and time in numbers.
Iso8601
2022-04-08T17:51:38
If the format
or language
parameter contains an unknown value, then the default portal language is used to format the string.
date in the standard
When using a format string, the separator and order of your date is dependent on your date settings. You can find and change this setting per portal,