To get the (epoch) timestamp you may use this. Make the advertised time to UTC 0 before updating this here.