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.
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.
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.
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
ASKER
Hi
Could you please elaborate
Regards,
Savio Coelho.
Could you please elaborate
Regards,
Savio Coelho.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
or some sec:min convertion you will do while give print to screen so that only this ....
thats is the pblm