add time function
Merge pull request #26 from caiywHub/feature_1

add time function