Lasso Soft Inc. > Home

[ server_date ]

Method

[Server_Date] returns the current date in a format suitable for display or logging.

  • Syntax
Server_Date
Examples
  • Beginner

To display the current date to a site visitor:

Use the [Server_Date] method. The following example informs the site visitor what date it is.

Code

date(server_date)->format('%d %b %Y')

Result

08 Jun 2011

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