Changes

Jump to: navigation, search

Manipulating Dates

No change in size, 17:06, 16 August 2010
no edit summary
'''Example:'''
var newDate=ConvertDate(sdate,'@dateformat@');
 
 
==Notes==
* When populating a date field that is displayed on the page it must be added in the preferred date format of the current user, as the system will automatically change it to yyyy-mm-dd when the page is saved.
frm.enddate.value=ConvertDate(edate,"@dateformat@");
</pre>
 
 
==Notes==
* When using [[JavaScript]] to populate a date it must be added to the field in the preferred date format of the current user, as the system will automatically convert it to yyyy-mm-dd when the page is saved.
0
edits

Navigation menu