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?
            Asked
            
        
        
            Active
            
        
            Viewed 52 times
        
    -1
            
            
        - 
                    3duplicate of [https://stackoverflow.com/questions/3429878/automatic-creation-date-for-django-model-form-objects](https://stackoverflow.com/questions/3429878/automatic-creation-date-for-django-model-form-objects) – Tim-Bolhoeve Oct 04 '22 at 11:26
1 Answers
0
            you can define in models:
created_on = models.DateTimeField(auto_now_add=True, null=True, blank=True)
 
    
    
        Hemal Patel
        
- 878
- 6
- 16
