Lasso Soft Inc. > Home


AuthorBil Corry
LicensePublic Domain
Posted06 Dec 2005
Updated06 Dec 2005
More by this author...


Returns a date given the number of days since 1/1/1970.

Sample Usage

lp_date_date1970: 13147; // returns 12/30/2005 00:00:00

Source Code

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.


	-description='Returns a date given the number of days since 1/1/1970.',
	local:'date' = (date:'1/1/1970 12:00:00');
	#date->(add: -day=(integer: #numberDays));
	return: (date: (string:#date) + ' 00:00:00');



Related Tags


No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home



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