comparison python/epoch2date.py @ 669:bcf5781b615e

STUB: python/epoch2date.py
author Jeff Hammel <k0scist@gmail.com>
date Thu, 17 Apr 2014 13:06:12 -0700
parents ef2762b1f7e8
children 1b8ea91f00a0
comparison
equal deleted inserted replaced
668:ef2762b1f7e8 669:bcf5781b615e
4 """ 4 """
5 conversion between epoch and dates 5 conversion between epoch and dates
6 6
7 https://docs.python.org/2/library/time.html 7 https://docs.python.org/2/library/time.html
8 https://docs.python.org/2/library/datetime.html 8 https://docs.python.org/2/library/datetime.html
9 http://bugs.python.org/issue7229
10 """ 9 """
10
11 # TODO: tz info
12 #http://bugs.python.org/issue7229
13 # http://stackoverflow.com/questions/13218506/how-to-get-system-timezone-setting-and-pass-it-to-pytz-timezone
14
11 15
12 import argparse 16 import argparse
13 import datetime 17 import datetime
14 import os 18 import os
15 import subprocess 19 import subprocess