A python script to convert long integer to date/time format








#!/usr/bin/python
import sys,time

if len(sys.argv) > 1:
    print time.ctime(long(sys.argv[1]))



No comments:

Post a Comment