mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-04 13:14:26 +02:00
Updated Examples and Recipes (markdown)
@@ -76,8 +76,8 @@ If you need to find out the current time where you _aren't_, then that is a simp
|
||||
int
|
||||
main()
|
||||
{
|
||||
std::cout << date::make_zoned("Asia/Shanghai",
|
||||
std::chrono::system_clock::now()) << '\n';
|
||||
std::cout << date::zoned_time{"Asia/Shanghai",
|
||||
std::chrono::system_clock::now()} << '\n';
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user