Well, the month is zero indexed and today
is 2/2 not 2/1 so that might be what your seeing…. From: Alright, I used this in the Alpha
and it worked fine….but in the Beta it’s reversed. var
mySharedObject:SharedObject = SharedObject.getLocal("REQTWA"); if(mySharedObject.data.lastvisit
!= null) { VisitText.text =
"Your last visit was " + mySharedObject.data.lastvisit.month +
"/" + mySharedObject.data.lastvisit.date + "/" +
mySharedObject.data.lastvisit.fullYear; } else { VisitText.text =
"This is your first visit."; } mySharedObject.data.lastvisit
= new Date(); mySharedObject.flush();
} _________________________________________ Jonathan
Miranda Flexible
Master of the Web "In the game
of chess, it's important to never let your opponent see your pieces."
|
- [flexcoders] Date Class switch? Jonathan Miranda
- RE: [flexcoders] Date Class switch? Geoffrey Williams
- RE: [flexcoders] Date Class switch? Jonathan Miranda