dateTimeValue

dateTimeValue() function is the Standard function available in 200OK.

Description : The dateTimeValue function formats the input expression as a date and time value.

Syntax : fx_dateTimeValue(expression)

Example : fx_dateTimeValue(2023-07-23 11:36:20) gives the response 'July 23, 2023 11:36 AM GMT'.

Here we go with simple scenario using the above function.

Scenario : In an event management system, event organizers need to display event dates and times in a user-friendly format. They utilize a function to format the input expression as a date and time value for display on event pages. For example, using the function with the expression '2023-07-23 11:36:20' results in 'July 23, 2023 11:36 AM GMT', providing attendees with clear event timings.

Request Side :

Response Side :

Last updated