Automatic Time and Date Insertion

I want to automatically add the date and time information of that time to a certain field in the project I am doing. I am using Django, HTML, JavaScript in my project, how can I do it with any of them?

you can define in models:

created_on = models.DateTimeField(auto_now_add=True, null=True, blank=True)
Back to Top