Added new symlink functions
[nil.git] / nil / time.py
blobe6121b89adc0ca7b1f8d19a4c0fcaa08a9d316e0
1 from __future__ import absolute_import
3 import time
5 def timestamp():
6 time_data = time.localtime()
7 output = '%d-%02d-%02d %02d:%02d:%02d' % (time_data.tm_year, time_data.tm_mon, time_data.tm_mday, time_data.tm_hour, time_data.tm_min, time_data.tm_sec)
8 return output