Get current date and time

Configure and retrieve the current date and time based on specific formats and timezone settings.

Description

This component offers comprehensive capabilities for managing date and time settings. It allows you to configure and retrieve the current date and time according to specific formats and timezone settings. You can customize the format to display the date and time in various styles, such as YYYY-MM-DD or MM/DD/YYYY, and select from different timezones to ensure accuracy based on your geographical location. This flexibility makes it easy to integrate precise and properly formatted date and time information into your applications, ensuring that they meet user requirements and regional standards.

The Get current date & time component has the identifier of date-time-X, where X represents the instance number of the Get current date & time component.

Component settings

Parameter NameDescription

Retrieval data

Options to retrieve Day, Date, and Time. These are the data elements to be fetched.

Options:

  • Day

  • Date

  • Time

Day format

Specifies the format of the day.

Options:

  • Current day from monday to sunday

  • Number of the day from 1 to 7

Date format

Specifies the format of the date

Options:

  • MM/DD/YYYY

  • DD/MM/YYYY

  • YYYY/DD/MM

  • YYYY/MM/DD

Time format

Specifies the format of the time

  • 24 hours

  • 12 hours

Timezone

Timezone refer to a region of the Earth that has the same standard time. Timezones are defined by their offset from Greenwich Mean Time (GMT). The values vary between GMT -12 to GMT +12.

Advanced configurations

The Get current date and time has no advanced configurations.

Use case

Here is a simple use case of the Get current date & time component, where the Get current date & time component is used to generate the day, the date and the time of the day.

Last updated