tags 554017 + confirmed thanks I can reproduce the problem with the attached code when running it as
$ TZ=America/New_York /usr/lib/jvm/java-6-sun/bin/java Daylight 0054 -0400 0104 -0500 0204 -0500 I tend to agree with the submitter that this looks wrong. Torsten
import java.util.Date; import java.text.SimpleDateFormat; public class Daylight { public static void main(String[] args) throws Exception { String t_before = "20091101T005400"; String t_after = "20091101T010400"; String t_after2 = "20091101T020400"; SimpleDateFormat inp = new SimpleDateFormat("yyyyMMdd'T'HHmmss"); Date db = inp.parse( t_before ); Date da = inp.parse( t_after ); Date da2 = inp.parse( t_after2 ); SimpleDateFormat out = new SimpleDateFormat("HHmm Z"); System.out.println( out.format(db ) ); System.out.println( out.format(da ) ); System.out.println( out.format(da2 ) ); } }