Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to get the mill sec of a given Date String

String dt = "01/16/2013 6:00 PM"
Posted
Comments
Sandeep Mewara 14-Jan-13 5:39am    
It's nothing. Current format does not have any millisecond. You need to be clear on what are you trying to achieve and get.
ravindar veerla 14-Jan-13 9:49am    
I want to get the milliseconds of the given Date string like (Time zone.getmilliseconds())

1 solution

The millisecond part of such a string is 0, of course. What do you want to obtain, exactly?
 
Share this answer
 
Comments
ravindar veerla 14-Jan-13 9:49am    
I want to get the milliseconds of the given Date string like (Time zone.getmilliseconds())

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900