Hello sir,
I am using nrf52832 Dev board in that set the time and date by using nrf calendar github library.For setting the time and date i have used functions as nrf_cal_set_time(uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) and for getting the time i have used function as nrf_cal_get_time_string(true) which it gives the time and date properly .I have use write_handler function as write_handler(uint16_t conn_handle, ble_newcts_t * p_lbs, ble_gatts_evt_write_t * p_evt_write) for inserting the value through nrf connect app.When i set the value through nrfconnect app then it get constant time stamp ,the current time is not increasing .
When i set the value through write_handler(uint16_t conn_handle, ble_newcts_t * p_lbs, ble_gatts_evt_write_t * p_evt_write) function for the first time then the current time gives proper reading .