Lasso Soft Inc. > Home


AuthorLubos Voros
CategoryData Type
LicensePublic Domain
Posted11 May 2008
Updated12 May 2008
More by this author...


Simple modification to Bil Corry "lp_date_date1970" custom tag because this tag not provide support for long Unix time conversion as example: 1210586400 (Mon, 12 May 2008 10:00:00 UTC).

Sample Usage

GMT zone:
[Variable:'cas'=(UNX_1970: 1210586400)] [$cas]

Local Time zone:
[Date_GMTtoLocal: ($cas), -GMT]

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 and time since 1/1/1970 00:00:00',
	local:'date' = (date:'1/1/1970 00:00:00 GMT');
    #date->(add: -second=(integer: #numberDays));
	#date->(setformat:'%D GMT');
	return: (date: #date);

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