Suite101

Working with Dates and Time: Date and Time Combined

Read the article this discussion is about


  1. mdehnel

This archived discussion is "read only".
For the corresponding "live" discussions, post in the active topic forum here.



Top 1.   Aug 23, 2001 7:15 AM

» mdehnel - Date and Time Combined

Is there a proper way to combine date and time

If I have strings for
mydate August 23, 2001
and
mytime 1:20:00 AM
can I combine them into 1?

I get and error when I try
CDate(08/23/2001 1:20:00 AM)
however Now() and FormatDate(Now(),0)
returns a valid date
what is the format for the combined date and time?

-- posted by mdehnel


Post this Discussion Post to facebook Add this Discussion Post to del.icio.us! Digg this Discussion Post furl this Discussion Post Add this Discussion Post to Reddit Add this Discussion Post to Technorati Add this Discussion Post to Newsvine Add this Discussion Post to Windows Live Add this Discussion Post to Yahoo Add this Discussion Post to StumbleUpon Add this Discussion Post to BlinkLists Add this Discussion Post to Spurl Add this Discussion Post to Google Add this Discussion Post to Ask Add this Discussion Post to Squidoo


Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion.