How to display current date & time in python-django website? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to display current date & time in python-django website?

How to display current date & time in python-django website? if available code then please suggest me link. Thank you!!

9th Apr 2019, 7:25 AM
Rameshwor Nepal
Rameshwor Nepal - avatar
1 Resposta
+ 2
You mean to activate timezone support? If yes then you can do this by going to setting.py and setting up USE_TZ= True. There's a good detail over here. You can check it out : https://docs.djangoproject.com/en/2.2/topics/i18n/timezones/
9th Apr 2019, 8:26 AM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar