problem with date class

Reply

Join Date: Jun 2009
Posts: 3
Reputation: jaque322 is an unknown quantity at this point 
Solved Threads: 0
jaque322 jaque322 is offline Offline
Newbie Poster

problem with date class

 
0
  #1
21 Days Ago
please if someone can help me i have probleams in the constructor of the class, how can i pass parameters to date constructor.....
student of Cienfuegos university(cuba)
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 18
Reputation: santiagozky is an unknown quantity at this point 
Solved Threads: 3
santiagozky santiagozky is offline Offline
Newbie Poster
 
0
  #2
21 Days Ago
I recommend you to use the SimpleDateFormat class. It is easier than calculating milliseconds. With it you can define the format you are going to use (yymmmdd, ddmmyyyy,etc) and then just call the parse method.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC