Dear Sir ,
I am using the example code of Tm4c129X hibernation mode in our customize board.
Date time display is working fine in AM and PM mode but i require date time in 24 hour format.
I have included date time.c file of example in our code.
First time bootup we are write the date time as below
g_ui32DayIdx=15;
g_ui32MonthIdx=11;
g_ui32YearIdx=21;
g_ui32HourIdx=12;
g_ui32MinIdx=59;
DateTimeSet();
and read after every one second as below
bRTCUpdate = DateTimeDisplayGet(g_pcDateTimeBuf,sizeof(g_pcDateTimeBuf));
if(bRTCUpdate)
RTC_I_range_Update();
The date time display as
15.11.2021 01.00 instead of 15.11.2021 13:00
I want to display Time in 24 hour directly not in A.M/P.M