Take a look at my dateAdd method that I added to my blog yesterday. should
allow you to get yesterdays date like this:
var today:Date = new Date();
var yesterday:Date = DateFunction.dateAdd("d",today,-1);
http://jeff.mxdj.com
At 01:57 PM 6/1/2005, you wrote:
>Any thoughts on an easy way to determine another date in time based on
>today's date? I want to query a web service using yesterday's date and
>I'm looking for a way to define it without all the logic overhead.
>
>
>
>Thanks much,
>
>Dave Harland
>
>
>
>
>----------
>Yahoo! Groups Links
> * To visit your group on the web, go to:
> *
> <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/
>
>
> *
> * To unsubscribe from this group, send an email to:
> *
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>
> *
> * Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/