Guest User

Untitled

a guest
Jul 18th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public void setLastUpdatedTimestamp( java.util.Date date )
  2. {
  3. java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" );
  4. java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" );
  5. fmt.setTimeZone( timezone );
  6. setLastUpdated( fmt.format( date ) );
  7. }
Add Comment
Please, Sign In to add comment