View Full Version : mySQL - Time in format 'HHH:MM:SS'
kennymoens
June 7th, 2002, 10:38
hi,
I've got a time in the 'HHH:MM:SS' format (can store more then 24h, up to 853 hours).
But I can't get the time_format function to work on it for values greater then 24h, anybody with a solution?
spec
June 7th, 2002, 12:53
Make the field NOT NULL and then when entering a either make the time NULL or leave it blank. It will automatically set the time.
I dont see why you want to go over 24h tho
kennymoens
June 7th, 2002, 12:57
The system is used for logging time of persons, this time cannot be said in days since they haven't done this for days, but they've done each time a few hours.
I know its a difficult way to tell it, but I don't now how to tell it clearly.
spec
June 7th, 2002, 13:32
If your logging online time I recommend you make a start time and an end time then in one collumn add the difference
kennymoens
June 7th, 2002, 13:35
I'll consider it
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.