推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
yanginfor
V2EX  ›  Python

小白请教个时间处理问题

  •  
  •   yanginfor · Jun 28, 2018 · 2600 views
    This topic created in 2901 days ago, the information mentioned may be changed or developed.
    怎么把 这个时间 2018-06-27T17:54:01.152048945+08:00 转换成 本地不带时区的年月日 时分秒
    2 replies    2018-06-28 10:38:25 +08:00
    xpresslink
        1
    xpresslink  
       Jun 28, 2018
    你这个问题不是描述得很清楚
    是一个带时区的表示时间的字符串
    '2018-06-27T17:54:01.152048945+08:00'
    要转换成 本地不带时区的年月日 时分秒 字符串么?
    yanginfor
        2
    yanginfor  
    OP
       Jun 28, 2018
    谢谢,我已经知道怎么处理了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1193 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:45 · PVG 07:45 · LAX 16:45 · JFK 19:45
    ♥ Do have faith in what you're doing.