Hi,
In my application I am using code like this:
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale);
df.setTimeZone(User.getTimeZone());
String s = df.format(d);
to format dates in an application that is used across different locales. I'd like to, sometimes, add seconds to this but I don't want to just specify one specific format using the SimpleDateFormat as I would loose the power of the locale based formatting.
So, anyone got any ideas how to make a minor change to the locale-formatted date?
Cheers,
Chris