Q. Which model field is used to store date and time in Django?

  • (A) DateField
  • (B) DateTimeField
  • (C) TimeStampField
  • (D) TimeField
πŸ’¬ Discuss
βœ… Correct Answer: (B) DateTimeField
Explanation: `DateTimeField` stores both date and time values.
Explanation by: Mr. Dubey
`DateTimeField` stores both date and time values.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate