added set_gtime_format for generation formatted timestamp