> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/convert-date-to-number.md).

# Convert Date to Number

## Description

This part enables the user to split a date object into its separate components: year, month, day, hour, minute, and seconds.

## Use

The Convert Date to Number part takes a date object or a date in the YYYYMMDD.HHmmSS format and splits it into individual objects. The system stores the individual objects together under the data object name the user assigns; for example, if the user names the data object \_my\_datenumber\_object, the system will create objects named as follows:

\- my\_datenumber\_object.year - my\_datenumber\_object.month - my\_datenumber\_object.day - my\_datenumber\_object.hours - my\_datenumber\_object.minutes - my\_datenumber\_object.seconds\_

## Editor Fields

| Field Name  | Description/Use                                                                                                                                                                                                                                                                                                                                                                                                  | Type/Options | Optional/Mandatory |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------ |
| Data Object | This is the name under which the system will store the converted values.                                                                                                                                                                                                                                                                                                                                         | Data Object  | Mandatory          |
| Group       | <p>The Group field enables the user to create a collection of data objects. By assigning a group do a data object the user creates the data object's parent, with which the user can call the data object. For example:<br>- Data object: my\_date\_object<br>- Group: my\_group<br>- Call: my\_group.my\_date\_object<br>If the user does not assign a group to system will call my\_date\_object directly.</p> | Text         | Optional           |
| Date        | This is the source date the system will convert into individual pieces. This can be a data object or the user can manually input a date in the format: HHmmSS.                                                                                                                                                                                                                                                   | Text         | Mandatory          |

## Example

For an example of how to use the Convert Date to Number part, download and import the following [sample project](/release-9/example-gallery/example-projects-for-parts/convert-date-to-number-example-project.md) in your workspace


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/process-node-parts/convert-date-to-number.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
