Here’s the help: both parameters for dateFormat
and timeFormat
are integers that correspond to a format type (loosely based on the list one can find in Date/Time column settings dialog). Use the value 0 to not display the date or time part. Try different integers to find the format you need. E.g., the one you need is Date.FormatDateTime(11, 0)
for dd/mm/yyyy
or .FormatDateTime(7, 0)
for d/m/yyyy
2 Likes