Lasso Soft Inc. > Home

Date

A date is an object that represents a particular date and time. The [Date] tag represents the current date and time if it is called with no parameters. The [Date] tag can be called with a string that contains a date or date and time in order to create a new date object.

The following formats are automatically recognized by Lasso as valid dates. Numbers can be specified with or without leading 0s or spaces. Times are always in 24-hour format.

MM/DD/YYYY
MM/DD/YYYY HH:MM:SS
YYYY-MM-DD
YYYY-MM-DD HH:MM:SS

The output of date objects is always in standard Lasso date format (DD/MM/YYYY HH:MM:SS) unless one of the format tags is used to output a different format.

Date objects can be manipulated using member tags and mathematical symbols. Duration objects are often used in concert with date objects to perform calculations.



  • Syntax
  • Parameters
[Date]

[Date: 'DD/MM/YYYY HH:MM:SS']

[Date: 'YYYY-MM-DD HH:MM:SS']
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link Date Category Data Type
Type Data Type Data Source Any
Support Preferred Version 6.0
Output Type Security
Implementation Internal Sets Lasso 6.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft