All Forums General
15 Feb 2011
Cast smallint to time

How can i cast smallint value to time.

Please help.

Jimm 298 posts Joined 09/07
16 Feb 2011

How is the time stored in your smallint? The largest value in a smallint is 32767 so it cannot be hhmmss format or seconds since midnight. (Unless your times are restricted to very early hours only!)

You must sign in to leave a comment.