|
little bit complicated messing around with string slicing in SQL when all you need is a display function
response.write hour(now()) & ":" & minute(now())
or
response.write FormatDateTime(Now(),vbShortTime)
will do exactly the same
BTW your SQL will only work IF the times are stored as strings, when they are stored correctly as datetime fields it will fail.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|