date - Determining if a time is GMT or BST in Java? -


if have date supplied system written in java, there way of telling if gmt or bst?

for formatting, should use dateformat implementation (e.g. simpledateformat). let specify time zone (and output format).

ultimately, need post code know "date supplied system" looks like.

it can identified. (edit: unless got string, did.)

there's this if you're interested in timezone class.

use proper dateformat java docs. answer own questions, ask ones can't answer. that's for.

the date class timezone dependent.

one google search prevents duplicate this.


Comments