How to get AM/PM value from datetime object in C#
Loading
How to get AM/PM value from datetime object in C#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Aug 10, 2022, 7:12 AM
Sachin SinghPosted Aug 10, 2022, 7:12 AM
Guest UserPosted Aug 10, 2022, 7:10 AM
dateTime.ToString("tt", CultureInfo.InvariantCulture);