I would simply set it to zero using the setters for hour, minute, second,
millisecond
Cheers,
Ralf.
On 1/12/07, boy_trike [EMAIL PROTECTED] wrote:
using: var X : Date = new Date(); returns the current date and time.
What is the easiest way
to just get the date (with the time set to
see setHours method of a date object. It should be something link that
date.setHours(0,0,0,0);
regards,
valy
- Original Message
From: Ralf Bokelberg [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, January 13, 2007 6:21:22 AM
Subject: Re: [flexcoders] Todays date
using: var X : Date = new Date(); returns the current date and time. What is
the easiest way
to just get the date (with the time set to midnight).
thanks
Bruce
3 matches
Mail list logo