Mysql: Change Timezone Per Query -
i want change timezone while query executing.
like calculating attendance , store timestamp in attendance table. expected check-in time of employee stored in employee table , office timezone stored in office table, timezone can differ office office. office 1 can have different timezone office 2.
so functions date_format( from_unixtime()) should work each office's timezone.
you should take @ mysql function:
Comments
Post a Comment