What are you generating Milliseconds from? A Date? Time? Day? Hours? Min?
Millisecond is 1 thousand of a second. So you know how to get seconds from an hours, hours from a day, and days from a year.
So if you have 2 days, 3 hrs and 40 mins, here are your milliseconds.
Milliseconds = Convert all to Seconds (2 days x 24 hrs a day x 60 minutes an hour x 60 seconds per minute) x 1000
Mahesh ChandPosted Jan 24, 2011, 8:46 AM
Millisecond is 1 thousand of a second. So you know how to get seconds from an hours, hours from a day, and days from a year.
So if you have 2 days, 3 hrs and 40 mins, here are your milliseconds.
Milliseconds = Convert all to Seconds (2 days x 24 hrs a day x 60 minutes an hour x 60 seconds per minute) x 1000