Greg Hains Posted June 4, 2013 Posted June 4, 2013 Hi, I have need to combine a date field and time field into a single timestamp field so I can calculate "time-since" figures. How do I go about this please - I know it's not as simple as table::date & " " & " " & table:time and calculating on that because a timestamp is a number (in the background). Can I simply subtract 01/01/0001 00:00:01 AM from another time/date field? Any ideas please? Greg
LaRetta Posted June 4, 2013 Posted June 4, 2013 Hi Greg, If you have a date field called theDate and a time field called theTime, you can make a timestamp as: Timestamp ( theDate ; theTime ) 1
Greg Hains Posted June 5, 2013 Author Posted June 5, 2013 Hi LaRetta, Thank you. The answer was so simple I'm now embarassed. lol Cheers, Greg
Recommended Posts
This topic is 4246 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now