摘要:
一 基本知识millisecond 毫秒microsecond 微秒 nanosecond 纳秒1秒=1000毫秒 1毫秒=1000微秒 1微秒=1000纳秒二 perlperl中可以使用time或localtime来获得时间,time返回从1970年1月1日0点的秒数,localtime返回当前时间的字符串表示,或者年月日等得tuple表示。#!/usr/bin/perlusestrict;usewarnings;usePOSIXqw(strftime);#secondsfrom1970.01.0100:00:00my$ti=time();print$ti;print"\n&quo 阅读全文
posted @ 2011-07-14 13:13
iTech
阅读(3510)
评论(0)
推荐(0)