Is there a function that would allow me to display the current time and date in this format: YYYY-MM-DD 13:24:00? I'm tired = Now() and =GetDate() but they dont seem to work. Thank you!
Anne Troy 11838 posts · Joined 1999 Add to quote Only show this user #2 · Feb 11, 2003 What program are you using?
S Snake~eyes 640 posts · Joined 2002 Add to quote Only show this user #3 · Feb 11, 2003 I'm not sure what language you're talkina bout but if its php heres how to do it PHP: $stuff = date("Y-m-d G:i"); echo($stuff);
I'm not sure what language you're talkina bout but if its php heres how to do it PHP: $stuff = date("Y-m-d G:i"); echo($stuff);
I irosen516 Discussion starter 23 posts · Joined 2002 Add to quote Only show this user #4 · Feb 11, 2003 I'm sorry. I forgot this wasn't a VB forum. I'm trying to do this in Visual Basic. Thanks!
T TimCottee 186 posts · Joined 2001 Add to quote Only show this user #5 · Feb 12, 2003 In VB it is dead simple: Code: Msgbox Format(Now(),"yyyy-mm-dd hh:nn:ss")
I irosen516 Discussion starter 23 posts · Joined 2002 Add to quote Only show this user #6 · Feb 12, 2003 Perfect! Thank you!