Skip to content
Back

[SOLVED] In which format should i pass the date?

  • 0
  • Resolved
  • 1
  • Databases
  • General
SwapnaSahoo
14 Dec, 2025, 17:16

I have a column with the type datetime. So i want to know which format is suitable for passing the date

TL;DR
Pass the date in ISO format without removing the Z at the end for UTC time.
Axistro
14 Dec, 2025, 17:22

ISO String

14 Dec, 2025, 18:11

ok do i have to remove the Z at the end when i geneate through new Date(date).toISOSString()?

14 Dec, 2025, 18:15

No Z represent The utc time

14 Dec, 2025, 18:16

ok thanks

14 Dec, 2025, 18:16

[SOLVED] In which format should i pass the date?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more