Lasso Soft Inc. > Home

[ date->asString ]

Method

[Date->asString] converts a date object to a string using the default format, and returns the string.

  • Syntax
Date Object->asstring
Examples
  • Beginner

To convert a date object to a string:

Use the [Date->asString] method. The following example converts a date object to a string.

Code

date('02/21/2011')->asstring

Result

2011-02-21 03:00:00

Recent Comments

No Comments found

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