Time in Wrong Format

abbaddon223

Registered User.
Local time
Today, 09:08
Joined
Mar 13, 2010
Messages
162
Hi,

I have a db with a text field in it. In this a time is stored in a pretty poor format, example:

01:23

Meaning 1 minute and 23 seconds. I would have expected this to be:

00:01:23

But alas this is not the case.

I'm really struggling to get the first format into the second. Could anyone help me with this at all please?

Cheers,

Phil.
 
The Data type for the Time field is setup wrong. It should be Date/Time not Text. Changing the field's type now will only result in disaster, create a New column with the proper type and then port it (use a User Defined Function maybe), then delete the old field and rename the new field to that of the old field.
 
Hi,

Thanks for the response - not responsible for building the db mercifually!! Thanks I'll try that....
 

Users who are viewing this thread

Back
Top Bottom