add time long of day and add some common use time func