Reputation: 11423
I have a field in my database of type DateTime
but i configure it to be just a time like that 10:00
.
Now i wanna to accept the time in the format like that :
10:00 AM
or 10:00 PM
..
Upvotes: 1
Views: 202
Reputation: 98858
DateTime
in your queryUse syntax like
If (Hours of Datetime > 12) Then Hours of Datetime - 12 + "PM"
I agree this is little bir confused but this is the structure you should follow.
Upvotes: 1