Ziel Python Library Master (30) Chronyk

[Bibliotheksbeschreibung]

Sie können Datum und Uhrzeit bedienen

【Programm】

chronyk.py


# -*- coding: utf-8 -*-

from chronyk import Chronyk

t = Chronyk(1410531179.0)
t = Chronyk("May 2nd, 2016 12:51 am")
t = Chronyk("yesterday")
t = Chronyk("21. 8. 1976 23:18")
t = Chronyk("2 days and 30 hours ago")

print t.ctime()
# Thu Jun 02 05:45:10 2016
print t.timestamp()
# 1464813910.0
print t.timestring()
# 2016-06-02 06:45:10
print t.timestring("%Y-%m-%d")
# 2016-06-02
print t.relativestring()
# 3 days ago
print t.date()
# 2016-06-02
print t.datetime()
# 2016-06-02 05:45:10

[Referenzseite]

pypi  github

Recommended Posts

Ziel Python Library Master (30) Chronyk
Ziel Python Library Master (48) Autopep8
Ziel Python Library Master (36) json2html
Ziel Python-Master (49) psidialogs
Ziel Python Library Master (26) easyxml
Ziel Python Library Master (29) table_printer
Zielen Sie auf die Namespaces des Python Library Master (55)
Ziel Python Library Master (46) Browserplus
Ziel Python Library Master (3) Arbeitskalender
Ziel Python Speed Master (42) Speedrecorder
Ziel Python Library Master (37) Slimurl
Ziel Python Library Master (44) Pynetviz
Ziel Python Library Master (8) Rolex
Ziel Python Library Master (52) Marktime
Ziel Python Library Master (7) Numparser
Ziel Python Library Master (21) hy
Richten Sie die Anforderungen des Python Library Master (18) aus
Ziel Python Library Master (13) easydev
Ziel Python Library Master (20) Pyyaml
Zielen Sie gleichzeitig auf den Python-Bibliotheksmaster (34)
Ziel ist die Wortsegmentierung des Python Library Master (40)
Ziel Python Library Master (43) cpmoptimize
Ziel Python Library Master (68) Pazudorasolver
Ziel Python Library Master (58) Fälscher
Ziel Python Library Master (11) nlist
Ziel Python Library Master (38) beautiful_print
Ziel Python Library Master (65) Geopy
Ziel Python Library Master (2) Vincent
Zielen Sie auf das Logbuch des Python Library Master (59)
Ziel Python Library Master (51) Pyautogui
Ziel Python Library Master (10) Timeit
Ziel Python Python Master (0) Links
Ziel Python Library Master (66) youtube-dl
Ziel Python Library Master (53) Psutil
Ziel Python Library Master (22) htmltag
Ziel Python Library Master (67) httpie
Ziel Python Library Master (45) xlsxwriter
Ziel Python Library Master (9) WebHelpers
Ziel Python Library Master (32) SQL
Ziel Python Library Master (60) Colourettu
Ziel Python Library Master (64) Pretty_cron
Ziel Python Library Master (56) Colorthief
Ziel Python Library Master (61) verschachtelte Suche
Ziel Python Range Master (17) RangeParser
Ziel Python Library Master (47) Deckor
Ziel Python Library Master (25) bestellte Menge
Ziel Python Python Library Master (62) Blicke
Ziel Python Library Master (12) Excel
Ziel Python Library Master (24) Combi
Ziel Python Library Master (63) easygui
Ziel Python Library Master (19) Riemann
Ziel Python Library Master (39) goless
Ziel Python Library Master (54) tqdm
Zielen Sie auf das Byteplay von Python Library Master (16)
Ziel Python Python Master (23) memory_utils
Ziel Python Library Master (27) Benchit
Ziel Python Library Master (35) Pywildcard
Ziel Python Library Master (14) Pyknon
Ziel Python Library Master (15) Brute
Zielen Sie auf Python Library Master (50) xlwings
Ziel Python Library Master (31) Adipy