> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/functions/date-and-time/make-date-time-date-and-time-time-span.md).

# Make Date/Time/Date & Time/Time Span

Returns a date/time/date & time/time span from given values.

**Tip:** some data inputs can be left without a value, in this case, they will be set to their default value. For example, if no value is provided for the milliseconds data input in make time, the milliseconds in the result will be set to 0.

| Block       | Values                                                  |
| ----------- | ------------------------------------------------------- |
| Date        | Year, Month, Day                                        |
| Time        | Hours, Minutes, Seconds, Milliseconds                   |
| Date & Time | Year, Month, Day, Hours, Minutes, Seconds, Milliseconds |
| Time Span   | Days, Hours, Minutes, Seconds, Milliseconds             |

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] Values (integer, multiple) - values from which the date & time object will be created.
* \[Output] Result (depends on the block) - date & time object.
