Python pendulum Tokens














































Python pendulum Tokens



                                          TOkens

There are many tokens in pendulum library for each term like year, hour, second, minute. the list of tokens is as follows


                                    
                                                TOKEN                               OUTPUT
YEARYYYY2000, 2001, 2002 ... 2012, 2013
YY00, 01, 02 ... 12, 13
Y2000, 2001, 2002 ... 2012, 2013
QUARTERQ1 2 3 4
Qo1st 2nd 3rd 4th
MONTHMMMMJanuary, February, March ...
MMMJan, Feb, Mar ...
MM01, 02, 03 ... 11, 12
M1, 2, 3 ... 11, 12
Mo1st 2nd ... 11th 12th
DAY OF YEARDDDD001, 002, 003 ... 364, 365
DDD1, 2, 3 ... 4, 5
DAY OF MONTHDD01, 02, 03 ... 30, 31
D1, 2, 3 ... 30, 31
Do1st, 2nd, 3rd ... 30th, 31st
DAY OF WEEKddddMonday, Tuesday, Wednesday ...
dddMon, Tue, Wed ...
ddMo, Tu, We ...
d0, 1, 2 ... 6
DAYS OF ISO WEEKE1, 2, 3 ... 7
HOURHH00, 01, 02 ... 23, 24
H0, 1, 2 ... 23, 24
hh01, 02, 03 ... 11, 12
h1, 2, 3 ... 11, 12
MINUTEmm00, 01, 02 ... 58, 59
m0, 1, 2 ... 58, 59
SECONDss00, 01, 02 ... 58, 59
s0, 1, 2 ... 58, 59
FRACTIONAL SECONDS0 1 ... 8 9
SS00, 01, 02 ... 98, 99
SSS000 001 ... 998 999
SSSS ...000[0..] 001[0..] ... 998[0..] 999[0..]
SSSSSS
AM / PMAAM, PM
TIMEZONEZ-07:00, -06:00 ... +06:00, +07:00
ZZ-0700, -0600 ... +0600, +0700
zAsia/Baku, Europe/Warsaw, GMT ...
zzEST CST ... MST PST
SECONDS TIMESTAMPX1381685817, 1234567890.123
MILLISECONDS TIMESTAMPx1234567890123


More Articles of Anmol Agrawal:

Name Views Likes
Python Pendulum Why to use Pendulum 81 0
Python Pendulum Limitations in DJANGO 115 0
Python Pendulum Limitations in MYSQLCLIENT 91 0
Python Pendulum Limitations in SQLITE3 95 0
Python Pendulum Testing 2 100 0
Python Pendulum Testing 113 0
Python Pendulum Range 110 0
Python Pendulum Period 3 108 0
Python Pendulum Period 2 103 0
Python Pendulum Period 100 0
Python Pendulum Properties and Duration Methods 2 97 0
Python Pendulum Properties and Duration Methods 106 0
Python Pendulum Instantiation 107 0
Python Pendulum Duration 104 0
Python Pendulum TImezone usage 2 94 0
Python Pendulum Timezone usage 93 0
Python Pendulum Switching Timezones 100 0
Python Pendulum Shifting Time to Transition 112 0
Python Pendulum Normalization 109 0
Python Pendulum Modifiers 2 110 0
Python Pendulum Modifiers 106 0
Python Pendulum Difference for Humans 2 141 0
Python Pendulum Difference for Humans 113 0
Python Pendulum Difference 115 0
Python pendulum Substraction 127 0
Pyhton pendulum Addition 123 0
Python pendulum Comapaison part 2 116 0
Python Pendulum Comparison 118 0
Python Pendulum Localized Formats and Escaping characteristics 117 0
Python pendulum Tokens 124 0
Python pendulum Formatter 116 0
Python pendulum Common Formats 122 0
Python pendulum String Formatting 123 0
Python pendulum Fluent helpers 2 116 0
Python pendulum Fluent helpers 105 0
Python pendulum Attributes and Properties 111 0
Python pendulum Localization 135 118
Python pendulum parsing 2 130 23
Python pendulum Parsing 1 137 61
Python pendulum 2 145 57
Python pendulum basics 136 9
python library Pendulum 136 33
python winsound.SND_PURGE and winsound.SND_WAIT 149 5
Python winsound.SND_NOSTOP 178 1
Python winsound.SND_NODEFAULT 158 1
python winsound.SND_ASYNC not excecuting problem 164 2
Python winsound functions 181 3
python winsound.SND_ALIAS 190 1
Python winsound.MessageBeep() 205 1
Python winsound basic introduction 241 1

Comments