Kamesh Jiya

Greenhorn
+ Follow
since Feb 17, 2017
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kamesh Jiya

Henry Wong wrote:The "SSS" with the SimpleDateFormat is in milliseconds. So, the normalized range is from 0 to 999.

And 823166 milliseconds works out to about 13 minutes, and 43 seconds... which of course, are added, once the number of milliseconds are normalized.

Henry

PS.... welcome to the ranch.



Thanks Henry,  any idea..how can I expect similar expected output. This value used as input to my SQL if minutes cahnges.. output also varies.
7 years ago

input:2016-02-26 21:00:52.823166
Output:2016-02-26 09:14:35.000166 PM
Expected :2016-02-26 09:00:52.823166 PM
7 years ago