summaryrefslogtreecommitdiffstats
path: root/src/common/time_zone.h
blob: b7aa1bb108f7a4e345b82c11fb5f4e05f27e2af1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2020 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <string>

namespace Common::TimeZone {

/// Gets the default timezone, i.e. "GMT"
std::string GetDefaultTimeZone();

/// Gets the offset of the current timezone (from the default), in seconds
int GetCurrentOffsetSeconds();

} // namespace Common::TimeZone