hello how are all here
I need to get info regarding datetime.
The DateTime.Now.Hour returns hour in 24-hour format.
But I need in 12-hour format.
like I need hour 12:23:56 A.M and 5:23:21 P.M.
Also how can I get A.M and P.M
The requirement is .. I have three dropdowns : one for hour, second for Minutes and third for A.M, P.M... I want to set them based on current server time.
...
Go to the complete details ...