From: Jun Tangunan
To: Daniel Hofford
Florida - United States
Visual FoxPro 9
General VFP Topics
Wednesday, August 13, 2008 12:28:31 AM
This message was rated by:
# Ratings: 1
> Is there a function to pull the time from DATETIME()?
> If the datetime() is 12/05/07 03:01:02 PM I need 15:01:02
> or if its 10:15:03 AM I need 10:15:03. With a lot of parsing I can do it - just wondering if someone has written a function for it as I'm being a bit lazy here.
> "Our gold does not chink and glitter. It gleams in the sun and neighs in the dark." Chief Joseph
Since you needed only the time portion without the AM/PM, then you need to add more to what Andy has given u:
Another is to go to the 24-hour formatting (military) so that AM/PM is no longer needed:
"Get out of the past and look in the future."
Posted by Daniel Hofford @ 8/12/2008 10:57:18 PM
Posted by Andy Kramek @ 8/12/2008 11:00:46 PM
Posted by Daniel Hofford @ 8/13/2008 12:58:18 AM
Posted by Andy Kramek @ 8/13/2008 11:54:50 AM
Posted by Jun Tangunan @ 8/13/2008 12:28:31 AM
Posted by Daniel Hofford @ 8/13/2008 12:58:53 AM
Posted by Jun Tangunan @ 8/13/2008 2:49:26 AM
Posted by Cetin Basoz @ 8/13/2008 12:23:39 PM
Posted by Yousfi Benameur @ 8/13/2008 12:59:24 PM