Hi,
We are using SmartClient version : v9.0p_2013-09-2/PowerEdition Deployment (built 2013-09-22)
We are using DateTimeFormat.getFormat("dd/MM/yyyy") at client side to format the Date fetched from database, in a specific Format.
But with the above Class, it changes the Date value according to the Time Zone, which we do not want.
We want the same Date value in our desired Format("dd/MM/yyyy").
For example: data stored in DB is 03-OCT-08,
and after formatting at client side ,date is 03/10/2008 for UK time zone but for US time zone the date gets changed to 02/10/2008 .
We also tried :
Same is happening for
DateUtil.TOEUROPEANSHORTDATE.format((Date) dateValue);
where dateValue contains our data of DATE instance.
For testing purposes we have been changing time zone for our system and no changes are being done on browser settings.
Can you please highlight any other alternatives or solutions to this ?
Thanks a lot.
We are using SmartClient version : v9.0p_2013-09-2/PowerEdition Deployment (built 2013-09-22)
We are using DateTimeFormat.getFormat("dd/MM/yyyy") at client side to format the Date fetched from database, in a specific Format.
But with the above Class, it changes the Date value according to the Time Zone, which we do not want.
We want the same Date value in our desired Format("dd/MM/yyyy").
For example: data stored in DB is 03-OCT-08,
and after formatting at client side ,date is 03/10/2008 for UK time zone but for US time zone the date gets changed to 02/10/2008 .
We also tried :
Same is happening for
DateUtil.TOEUROPEANSHORTDATE.format((Date) dateValue);
where dateValue contains our data of DATE instance.
For testing purposes we have been changing time zone for our system and no changes are being done on browser settings.
Can you please highlight any other alternatives or solutions to this ?
Thanks a lot.