[Flashcoders] How to find yesterday?

2007-03-27 Thread natalia Vikhtinskaya
Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] How to find yesterday?

2007-03-27 Thread vivek.gaikwad
Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread natalia Vikhtinskaya
? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread Michael Stuhr
[EMAIL PROTECTED] schrieb: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 the above doesn't take into account Day 1 of the current Month: function getYesterday () { var t:Date = new Date (); var daysBack:Number

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread eka
To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find yesterday as date object? cur_day= new Date(); yest_day=? What is the simple way for that? ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] How to find yesterday?

2007-03-27 Thread Nick Weekes
2007 10:17 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to find yesterday? I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1

RE: [Flashcoders] How to find yesterday?

2007-03-27 Thread Joe Wheeler
var yesterday:Date; yesterday = new Date(); yesterday.setDate( yesterday.getDate() - 1 ); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: 27 March 2007 10:19 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread natalia Vikhtinskaya
THANK YOU!! 2007/3/27, Michael Stuhr [EMAIL PROTECTED]: [EMAIL PROTECTED] schrieb: Is this simple? cur_day = new Date(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 the above doesn't take into account Day 1 of the current Month: function getYesterday () {

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread eka
(); //trace(cur_day.getDate()); Var1=cur_day.getDate()-1;//27 trace(var1);//26 -Original Message- From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 2:26 PM To: Flashcoders mailing list Subject: [Flashcoders] How to find yesterday? Hi How to find

Re: [Flashcoders] How to find yesterday?

2007-03-27 Thread Michael
On 3/27/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: I am looking for date object, but not sure it is possible cur_day = new Date(); trace(cur_day)//Tue Mar 27 13:16:34 GMT+0400 2007 //trace(cur_day.getDate()); var1=cur_day.getDate()-1;//27 trace(var1);//26 so it is not date object