python 获取当前时间
2013-03-14 19:47
239 查看
/article/3742388.html Python实例讲解 -- 获取本地时间日期(日期计算)
#! /usr/bin/env python #coding=utf-8 import time import datetime d1 = datetime.datetime.now() d3 = d1 + datetime.timedelta(days =10) print str(d3) print d3.ctime()
相关文章推荐
- python 基础 —— 获取当前时间的时间戳
- python 获取当前时间
- Python获取并输出当前日期时间
- Python获取当前系统时间
- python 获取当前时间
- python 获取当前时间
- Python获取当前时间
- python获取当前时间戳Long类型
- python 获取当前时间
- [Python]获取当前时间
- python 获取当前时间
- python获取当前时间对应unix时间戳的方法
- python练习程序(获取系统当前时间)
- python读配置文件;正则表达式替换、切割字符串;获取当前时间
- python 获取当前时间
- Python 获取当前时间
- 用python 获取当前时间
- Python获取当前时间
- Python获取当前时间及格式化
- python time模块获取当前时间