#!/usr/bin/env python import sys from email.Utils import formatdate print formatdate(float(sys.argv[1]))