time format from db to short