How do i compare dates irrespective of time? For example if I want to see if the dates are equal I cannot do it because when I get the current date it always gives me the time with it. So if I have a date 04/21/2004 00:00:00 from a form it is not equall to 04/21/2004 04:22:05 that I get from new Date(). How do I strip the date from them and ignore the time?
Thank you in advance
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.