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 ..
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 ..
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.