diff --git a/website/src/content/docs/docs/language-basics/built-in-types.md b/website/src/content/docs/docs/language-basics/built-in-types.md index 380c4071fdb..575d9ea7dc1 100644 --- a/website/src/content/docs/docs/language-basics/built-in-types.md +++ b/website/src/content/docs/docs/language-basics/built-in-types.md @@ -39,9 +39,11 @@ Built in types are related to each other according to the rules described in [ty | `plainDate` | A date on a calendar without a time zone, e.g. "April 10th" | | `plainTime` | A time on a clock without a time zone, e.g. "3:00 am" | | `utcDateTime` | A date and time in coordinated universal time (UTC), e.g. "1985-04-12T23:20:50.52Z" | -| `offsetDateTime` | A date and time in a particular time zone, e.g. "April 10th at 3:00am in PST" | +| `offsetDateTime` | A date and time in a particular time zone, e.g. "1985-04-12T16:20:50-08:00" | | `duration` | A duration/time period. e.g 5s, 10h | +For more information about how emitters should encode date-time strings, read [Encoding of types](https://typespec.io/docs/libraries/http/encoding/#utcdatetime-and-offsetdatetime) in the HTTP library. + ## Other core types | Type | Description |