# Get current date and time

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FDZdL6LIxAMlqgkXmQaql%2Fimage.png?alt=media&#x26;token=54bdcbc7-61fa-47aa-9fe5-33a87dd5cd30" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FBJltsSzvTv2hKmEndMlJ%2Fimage.png?alt=media&#x26;token=ef6a0f35-b506-41f6-aeff-ee6bfcba12df" alt=""><figcaption></figcaption></figure>

## Description

**What it does** 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.

**When to use it?** Let's say you are scheduling automated social media posts. You can use this node to automatically add the current date and time to your posts, or to schedule posts to go out at specific times every day.<br>

## Component settings

| Parameter Name | Description                                                                                                                                                                                 |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Retrieval data | <p>Options to retrieve Day, Date, and Time. These are the data elements to be fetched. </p><p>Options: </p><ul><li>Day </li><li>Date </li><li>Time</li></ul>                                |
| Day format     | <p>Specifies the format of the day. </p><p></p><p>Options: </p><ul><li>Current day from Monday to Sunday</li><li>Number of the day from 1 to 7</li></ul>                                    |
| Date format    | <p>Specifies the format of the date </p><p></p><p>Options: </p><ul><li>MM/DD/YYYY </li><li>DD/MM/YYYY </li><li>YYYY/DD/MM </li><li>YYYY/MM/DD</li></ul><p></p>                              |
| Time format    | <p>Specifies the format of the time </p><ul><li>24 hours </li><li>12 hours</li></ul>                                                                                                        |
| 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.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2F6H17oMnasT66G2veqX4q%2Fimage.png?alt=media&#x26;token=ce5423fa-9b4a-43ca-8a9f-52a9ac2e81a7" alt=""><figcaption></figcaption></figure>
