Skip to main content

Quantela platform user manual

Translate DateTime

Description

Parses a datetime string in one format and timezone and converts it to another.

Input

String or JSON. Run with no input to see the relevant format string examples displayed in a HTML table.

Output

String or JSON

Built in formats

Select one of the following standard date formats:

  • Standard date and time

  • American-style date and time

  • International date and time

  • Verbose date and time

  • UNIX timestamp (seconds)

  • UNIX timestamp offset (milliseconds)

  • Automatic

Input format string

Input date format. See Date formats for a complete list of available date and time formats.

Input timezone

Select the time-zone for the input date from the provided list.

Output format string

Output date format. See Date formats for a complete list of available date and time formats.

Output timezone

Select the time-zone for the output date from the provided list.

IsCollection

If True then the input parameter is a JSON collection, otherwise it is simply a string.

IteratorKey

If the input parameter is a JSON collection, then this parameter indicates the specific attributes in the collection that the function is to operate on.