DATE AND TIME MODULES IN PYTHON

Authors

  • Dilnavo Sadullayeva Sharof Rashidov nomidagi Samarqand Davlat universitetining Urgut filiali Biznesni boshqarish va tabiiy fanlar fakulteti Axborot tizimlari va texnologiyalari yo‘nalishi 2-bosqich talabasi Author

Keywords:

Python, date, time, datetime, time, calendar, time zones, time interval, time formatting, programming.

Abstract

This article explores the capabilities of working with date and time in the Python programming language. The main focus is on modules such as datetime, time, and calendar, which allow measuring time, displaying dates, working with time zones, and representing time in various formats. Practical examples are provided to demonstrate comparing dates, calculating time intervals, processing user-input dates, and applying these concepts in real projects. The article aims to help developers use Python’s date and time functionalities more efficiently and effectively.

References

Beazley, D. M., & Jones, B. K. Python Cookbook. O'Reilly Media, 2013.

Lutz, M. Learning Python. O'Reilly Media, 2013.

The Python Software Foundation. “datetime — Basic date and time types,” Python 3 Standard Library Documentation. https://docs.python.org/3/library/datetime.html

The Python Software Foundation. “time — Time access and conversions,” Python 3 Standard Library Documentation. https://docs.python.org/3/library/time.html

The Python Software Foundation. “calendar — General calendar-related functions,” Python 3 Standard Library Documentation. https://docs.python.org/3/library/calendar.html

Sweigart, A. Automate the Boring Stuff with Python. No Starch Press, 2019.

Summerfield, M. Programming in Python 3: A Complete Introduction to the Python Language. Addison-Wesley Professional, 2010.

Oliphant, T. E. A guide to NumPy. Trelgol Publishing, 2006.

Internet manbasi: https://realpython.com/python-datetime/

Internet manbasi: https://www.geeksforgeeks.org/python-date-time/

McKinney, W. Python for Data Analysis. O'Reilly Media, 2017.

Internet manbasi: https://pymotw.com/3/datetime/

Internet manbasi: https://devdocs.io/python~3/library/datetime

Ramalho, L. Fluent Python. O’Reilly Media, 2022.

Richards, J. B., & Sabin, T. Mastering Python. Packt Publishing, 2016.

Published

2025-09-12

How to Cite

DATE AND TIME MODULES IN PYTHON. (2025). Eurasian Journal of Academic Research, 5(9), 47-53. https://in-academy.uz/index.php/EJAR/article/view/6579