Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Converting Integer time stamp into java date
- 1333125342
- select DATEADD(ss, FlOOR(1333089223/86400)*86400, '1970-01-01 00:00:00') AS Date
- 3/30/12 12:18:43 PM
- String dateAsText = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")
- .format(new Date(1333125342 * 1000L));
- new java.util.Date(millis);
- 3/30/12 12:18:43 PM
Add Comment
Please, Sign In to add comment