Link | pk_unixtimestamp |
Author | Pier Kuipers |
Category | Date |
Version | 8.x |
License | Public Domain |
Posted | 16 Mar 2006 |
Updated | 12 Jul 2006 |
More by this author... |
Returns the current unix timestamp, allowing for discrepancies caused by Daylight Saving Time.
Note: Works in LP8.1, but breaks in 8.5 - Use Jason's tag instead: [c5_unixtimestamp].
pk_unixtimestamp
Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.
Define_Tag:'unixtimeStamp', -namespace = 'pk_', -description = 'returns the current unix timestamp, allowing for discrepancies caused by DST'; local:'DST_diff'=(integer:(date_difference: (date: ((integer:(date)))), (date), -second)); local:'unixtimeStamp' = ((integer:(date)) - #DST_diff); return:#unixtimeStamp; /Define_Tag;
No comments
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft