lonesomejubilee Posted January 17, 2005 Posted January 17, 2005 Hi I'm trying to write a time card db, and I don't like the template, so I'm going to make my own. I need it to run 24 h ours so how would I write a calculation so if someone clocks in at 23:00 and out at 7:00 it will show as 8 hours instead of -16 hours? Thanks... Vandy
RalphL Posted January 17, 2005 Posted January 17, 2005 Use TimeStamp instead of time. Use time for the result of you calculation. Or do you own calculations, timestamp is number of seconds.
lonesomejubilee Posted January 17, 2005 Author Posted January 17, 2005 Will it still calculate past the date line?
lonesomejubilee Posted January 17, 2005 Author Posted January 17, 2005 Thanks, one last question.... the timestamp calculated correctly, but I don't like the way it looks... having both the date and time... is there anyway to truncate it to just the time?
Recommended Posts
This topic is 7319 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