Documentation Index

Fetch the complete documentation index at: https://help.pillir.io/llms.txt

Use this file to discover all available pages before exploring further.

Date Block

Prev Next

Date

All operations that pertain to date and time are modeled in this block. 


New Date:

Returns a current date as an object.

Block Layout

Generated Code

Date

new Date()


Date Properties:

The Date Properties are: Full Year, Month, Day, Date, Hours, Minutes, Seconds, Milliseconds, Time

Input 

Output

Block Layout

Generated Code

Select the type of date property,

 

Date input as a variable or data object.

Returns the data property as text


(new Date()).getFullYear()


Date From Text:

Input 

Output

Block Layout

Generated Code

Date Text value as a variable or text,

 

Format value as a variable or text.

Returns Date Object for the given format.

pillirFunctions.

date_new_date

('2020/01/12', 'YYYY/MM/DD')


Date To Text:

Input 

Output

Block Layout

Generated Code

Date object value as a variable or a date object,

 

Format value as a variable or text.

Returns Date as a text value for the given format.

pillirFunctions.

date_to_string

((new Date()), 'YYYY/MM/DD')