ex_wechat v0.1.7 Wechat.Helpers.TimeHelper

Helper methods for time calucate.

Summary

Functions

Get unix timestamp

Transform the erl datetime tuple to unix timestamp

Functions

current_unix_time()

Get unix timestamp

erl_datetime_to_unix_time(datetime)

Transform the erl datetime tuple to unix timestamp