Print Page | Close Window

Date Time Picker date format

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10168
Printed Date: 16 November 2024 at 11:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Date Time Picker date format
Posted By: retsoftuser
Subject: Date Time Picker date format
Date Posted: 10 April 2008 at 2:19am
Hello!
 
I need to change the format of date display say (dd-mm-yy to mm-dd-yy) in date time picker. But the result is not ok.
 
I am changing it through customformat  = "mm-dd-yy" but the result is for the date 10-04-2008 and the result when changed to mm-dd-yy is 24-10-08.
 
 
I have a registered version 11.2.2.
 
 



Replies:
Posted By: Lodep59
Date Posted: 10 April 2008 at 4:23am
Originally posted by retsoftuser retsoftuser wrote:

Hello!
 
I need to change the format of date display say (dd-mm-yy to mm-dd-yy) in date time picker. But the result is not ok.
 
I am changing it through customformat  = "mm-dd-yy" but the result is for the date 10-04-2008 and the result when changed to mm-dd-yy is 24-10-08.
 
 
I have a registered version 11.2.2.
 
 
 
Hi,
 
The custom format code for the month is "M" not "m".
So if you want the format "month-day-year" you must use "MM-dd-yy".
Today the result will be "04-10-08".
 
Regards,



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net