Source code for testbot.utilities.time

#!/usr/bin/env python
# -*- coding: utf-8 -*-


[docs]__author__ = "Nuanguang Gu(Sunny)"
[docs]__email__ = "nuanguang.gu@aliyun.com"
import time
[docs]def get_local_time(): return time.strftime("%B %d, %y %H:%M:%S", time.localtime())
[docs]def get_time_stamp(): return time.strftime("%Y%m%d%H%M%S", time.localtime())