Mega Code Archive

 
Categories / Java Tutorial / Development
 

RFC 822 numeric time zone indicator

import java.util.Date; public class MainClass {   public static void main(String[] args) {     Date now = new Date();     System.out.printf("RFC 822 numeric time zone indicator: %tz/%Tz\n", now, now);   } } // RFC 822 numeric time zone indicator: -0800/-0800