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 midnight).

thanks
Bruce




--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35

Reply via email to