# 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** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/GQanW23KAGOyCndxEUnQf7pCDwt9sIciHzNOHlDF8y-8Ajj5rtdqXMTSK-IcSP-wd3aMiQWbkwe8aLU0zFFxtZWVUqaLYc--s4I39BD-FvStMu21kviYHuPr6Y7x8NIghPTq-U3XvE4Zz1mEpP_NCgI" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/D4Doz-P6RGjsCIWNwHV_YvANqtmD6qG0HIZNEoxq1XpvqCuqrg8tIxBSQH4jVEQ7ijwLHu-AXsRJhicSBwMiQjEeFasDi5EMHm1onoUAdfijwWF-fYfM9grOhgZqSHKbD-XfbyuMmsPolYnz9l5UWhI" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/f7Xp16ko3GnFchZah10XAxpltsAkNg4K8gLE8twcGEGB56mvtbvH17G1hzsnX0uRJI58nsgTz2KOemXA0VHIRl6EveK5pfV5FkigPMp-b7ukoEsXXel7RkXaTK5IQgK2mmDDjk4oL-TTi34zOqI-7SY" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/HNtfUhEjfJUtxySkIitzMynJ_uV8nZSr8mKGa9Ymg1I8QR2zCPTN7FyXeun7ahWdQWbjlb1QbP-rQtKxWflmCKuFCnZ2fAyix8baV3pLbTJmpezhm054Dm-9JAguRIA7Dq0ZU1Knm6Defp9pubeuHTo" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/O8HT-v4UDVOAtEBVypdJeTVLXVAfbW_qjtWo5wk-lwiYfcN5jcxXwwRRzkX3JOwsDdZ1CmyyARAVmUsVUUEMTOtQ6IMvIK317CzeqV2yBmpwC9tDs4ZDH5fSL6sH7HCtTtlmqpkzk183BZ7uuORdsEQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/9979J7EurTOVd5ZsRvQw7DumxJYfF0YckxQ9E1MM3S48iTMFWvvdMUsR2tzYlPlGjDTgAIGmR0it1g_8roIa3wWLP3FPj-UCTxMOF_6C2s8a2W0PT9SSG7mf5qBw-2OYTbtXYQ0JGtCULl6zePdXxaY" alt=""><figcaption></figcaption></figure>
