#!/usr/bin/env python
#encoding="utf-8"
"""
free use navicat & sqlyog
"""
import datetime
from dateutil import parser
if __name__=="__main__":
import sys,os
if len(sys.argv)>1:
import urllib2
r=urllib2.urlopen("http://www.baidu.com")
t=r.headers.dict["date"]
dt=parser.parse(t)
os.system("date %s-%s-%s"%(dt.year,dt.month,dt.day))
print "datetime back to normal %s"%datetime.datetime.now()
else:
os.system("date 2012-03-20")
print "this is only for software expired used"
print "datetime change to %s"%datetime.datetime.now()