Before you dive into planning a birthday scenario, it's a good idea to check how your birthday timestamps and time zones are recorded.
Since scenarios operate in the UTC+0 timezone, the beginning and end of a day are based on that timezone. This means that a birthday timestamp may appear on a different day in another timezone if it is recorded close to midnight.
To prevent confusion, it's best to avoid tracking birthday timestamps around midnight and consider adding the proper offsets if you're aiming for an audience in a specific timezone.
Here's a simple example to consider:
- The birthday timestamp is recorded at midnight in the
UTC+1
timezone. When converted to theUTC+0
zone, it will show as 11:00 PM the previous day. - If you track birthdays at
UTC-1
11:00 PM, it will appear inUTC+0
at midnight, which means it will be considered the next day compared to the original timestamp date.
When tracking birth date timestamps, it's best to keep them aligned with the correct timezone, ideally in UTC+0. Avoid tracking them around midnight and in various time zones, since midnight can affect how the date is interpreted in different scenarios.