Description

Converts a value to a datetime string

Example

server/time/todate

Result: 10.sep.2024 10:44:47
server->s/todate($s/time)

Result: 10.sep.2024 10:44:47
server->s/todate($s/time, 'dd-MM-yyyy')

Result: 10-09-2024

Syntax

number/todate

todate(number, format)

Parameters

Type Description
Number The number to convert to a datettime
Format An optional format

← orderby function / empty function →

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment