Time in Wrong Format (1 Viewer)

abbaddon223

Registered User.
Local time
Today, 01:51
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.
 

pr2-eugin

Super Moderator
Local time
Today, 09:51
Joined
Nov 30, 2011
Messages
8,494
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.
 

abbaddon223

Registered User.
Local time
Today, 01:51
Joined
Mar 13, 2010
Messages
162
Hi,

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

Users who are viewing this thread

Top Bottom