Python | Pandas Timestamp.day Last Updated : 08 Jan, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.day attribute return the value of the day in the given Timestamp object. Syntax : Timestamp.day Parameters : None Return : day Example #1: Use Timestamp.day attribute to find the day value in the given Timestamp object. Python3 # importing pandas as pd import pandas as pd # Create the Timestamp object ts = pd.Timestamp(2017, 1, 15, 12) # Print the Timestamp object print(ts) Output : Now we will use the Timestamp.day attribute to find out the day value in the given Timestamp object. Python3 # return day value ts.day Output : As we can see in the output, the Timestamp.day attribute has returned 15 indicating that it is the 15th day of the month in the given Timestamp object. Example #2: Use Timestamp.day attribute to find the day value in the given Timestamp object. Python3 # importing pandas as pd import pandas as pd # Create the Timestamp object ts = pd.Timestamp(year = 2009, month = 10, day = 21, tz = 'Europe/Berlin') # Print the Timestamp object print(ts) Output : Now we will use the Timestamp.day attribute to find out the day value in the given Timestamp object. Python3 # return day value ts.day Output : As we can see in the output, the Timestamp.day attribute has returned 21 indicating that it is the 21st day of the month in the given Timestamp object. Comment More infoAdvertise with us Next Article Python | Pandas Timestamp.now S Shubham__Ranjan Follow Improve Article Tags : Technical Scripter Python Python-pandas Python Pandas-Timestamp Practice Tags : python Similar Reads Python | Pandas Timestamp.date Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.date() function return a datetime object with same year, month and da 2 min read Python | Pandas Timestamp.dst Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.dst() function return a timedelta object which contains self.tzinfo.d 2 min read Python | Pandas Timestamp.dayofyear Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.dayofyear attribute return the day of the year for the given Timestam 2 min read Python | Pandas Timestamp.dayofweek Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.dayofweek attribute return the value of day of the week in the given 2 min read Python | Pandas Timestamp.now Python is a great language for data analysis, primarily because of the fantastic ecosystem of data-centric Python packages. Pandas is one of those packages that makes importing and analyzing data much easier. Pandas Timestamp.now() function returns the current time in the local timezone. It is Equiv 3 min read Python | Pandas Timestamp.isoweekday Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas Timestamp.isoweekday() function return the day of the week represented by the d 2 min read Like