CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Date Picker

Print topic Send  topic

Author Message
Finian826

Posts: 29
Posted: 07/28/2005, 9:44 AM

Good day,
I was just going through the date picker java source and have notice alot of the string composition for the time part has been commented out and substituted with just zero's.
Is there any harm in removing the zero's and putting the functions that were commented out back into the mix of things. I would prefer the date picker to produce the current time as well based on the date mask that is sent to the script.

Below is a small list of what I have seen:
case "h":
resultArray = "0";//get12Hour(dateToFormat.getHours());
break;
case "H":
resultArray = "0";//dateToFormat.getHours();
break;
case "n":
resultArray = "00";//dateToFormat.getMinutes();
break;
case "s":
resultArray = "00";//dateToFormat.getSeconds();
break;

Terry
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.