vwkd
vwkd4d ago

Dates in Deno KV

What's the best way to deal with dates in Deno KV? Does it natively support Date or Temporal? Or do they need to be serialized to/from strings?
1 Reply
ud2
ud24d ago
Deno KV serializes values using the StructuredSerializeForStorage algorithm (except for Uint8Array and Deno.KvU64 objects), so Date is supported, but Temporal not yet.

Did you find this page helpful?