Tugger stores dates and times in UTC (Coordinated Universal Time) wherever your source system says which time zone a time is in. This article explains what that means for your reports, and how to show times in UK time if you need to.
Why times can look an hour out
UTC is the same as UK time in winter. In summer, UK clocks go forward an hour (British Summer Time), so UK time is UTC + 1 hour.
This means a job created at 10:30 UK time in July shows in your data as 09:30. In winter, the times match.
Tugger converts times to UTC when it pulls them from your source system. Storing them in one time zone means data from different systems lines up correctly.
A few fields are kept in the source system's own time zone, for example where the system doesn't say which time zone a time is in. The setup guide for your connector, or AI Insights, can tell you which fields these are.
Dates without a time
Some fields are just a date, with no time, such as a date of birth or the day a timesheet entry is for. These are stored exactly as your source system shows them. They aren't converted, so they never move to a different day.
Where this can make a difference
Most of the time an hour doesn't matter. It can matter when you group by day, week or month:
- Something that happened between midnight and 01:00 UK time in summer falls on the previous day in UTC
- That can move a record into the previous month at a month end, so monthly totals can differ slightly from your source system's own reports
If you report by day or month on a date and time field, convert it to UK time first (see below), or use a date-only field if the table has one.
Showing UK time in Power BI
Power BI can't switch between GMT and BST automatically, so use this custom function. It converts a UTC date and time to UK time, including the change of the clocks.
- In Power BI Desktop, click Home, then Transform data
- Click Home, New Source, then Blank Query
- Click Advanced Editor, delete what is there, and paste in:
(utcValue as any) as nullable datetime =>
let
utc = if utcValue = null then null
else if Value.Is(utcValue, type datetimezone) then DateTimeZone.RemoveZone(DateTimeZone.SwitchZone(utcValue, 0))
else DateTime.From(utcValue),
year = if utc = null then null else Date.Year(utc),
bstStart = if utc = null then null else Date.StartOfWeek(#date(year, 3, 31), Day.Sunday) & #time(1, 0, 0),
bstEnd = if utc = null then null else Date.StartOfWeek(#date(year, 10, 31), Day.Sunday) & #time(1, 0, 0),
ukTime = if utc = null then null
else if utc >= bstStart and utc < bstEnd then utc + #duration(0, 1, 0, 0)
else utc
in
ukTime
- Click Done, then rename the query to ToUKTime
- Select the table you want to change, click Add Column, then Invoke Custom Function
- Choose ToUKTime, and pick your date and time column for utcValue
- Click OK, set the new column's type to Date/Time, then click Close & Apply
Tip: Use the column exactly as it comes from Tugger. Don't change its type before running the function, because Power BI would apply your computer's time zone and the result would be an hour out.
The British Summer Time rule is: from 01:00 UTC on the last Sunday in March to 01:00 UTC on the last Sunday in October.
Times in other parts of Tugger
- Sync schedule. You choose the time zone when you set the schedule, so scheduled times are in your time zone. See Managing Your Sync Schedule.
- Summary page. Next Refresh (UTC) is shown in UTC.
- AI Insights. Your AI tool works with the same UTC times. If you need UK time, say so in your question, for example "show the times in UK time".