Lasso Soft Inc. > Home

[rp_mysqldatetime]

Linkrp_mysqldatetime
AuthorRandy Phillips
CategoryDate
Version8.x
LicensePublic Domain
Posted08 Dec 2005
Updated18 Jan 2006
More by this author...

Description

This tag can be used in tandem with the rp_datemenu and rp_timemenu cTags. It concatenates date, time and/or datetime values from html select menus for input into MySQL date, time or datetime columns.

Sample Usage

[var:'mydatetime' =(rp_mysqldatetime: 
		-dayvalue=(action_param:'day'), 
		-monthvalue=(action_param:'month'), 
		-yearvalue=(action_param:'year'),
		-hourvalue=(action_param:'hrs'),
		-minutevalue=(action_param:'mins'),
		-secondvalue=(action_param:'secs'),
		-ampm=(action_param:'ampm'))]
		
[var:'mydate' =(rp_mysqldatetime: 
		-dayvalue=(action_param:'day'), 
		-monthvalue=(action_param:'month'), 
		-yearvalue=(action_param:'year'))]
		
[var:'mytime' =(rp_mysqldatetime: 
		-hourvalue=(action_param:'hrs'),
		-minutevalue=(action_param:'mins'),
		-secondvalue=(action_param:'secs'),
		-ampm=(action_param:'ampm'))]

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.

Comments

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