Link to home
Start Free TrialLog in
Avatar of CCBRONET
CCBRONET

asked on

Show prior date in flex while date in database is different

I am trying to view the date of birth that i retrieve from a MySQL database,
For Eg.

The DOB in the DB is: 30/12/1984
But when I retrieve the date from the DB to view it on my flex page it shows me the prior date 29/12/1984.

I am bit confused about this phenomena as it happens for a few records......

Thanks In Advance,
Savio Coelho.
Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

I think your converting the calender format to date format ....
or some sec:min convertion you will do while give print to screen so that only this ....

thats is the pblm
Avatar of CCBRONET
CCBRONET

ASKER

Hi

I think that could be the problem....when I try to print the date in flex via alert popup....
The Date I get if the data is proper: Mon Oct 6 00:00:00 GMT+0530 1969
But when its wrong its like this: Mon Oct 5 10:59:00 GMT+0530 1969

Some kind of HH:mm value is getting appended.....How do I solve this???


Thanks,
Savio Coelho.
convert this in to correct date format and use locally
Hi

Could you please elaborate

Regards,
Savio Coelho.
ASKER CERTIFIED SOLUTION
Avatar of Thommy
Thommy
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial