dotnet / dotnet/dotnet-api-docs

The Example is not purposeful.

Open
#1,479 0 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The consideration of CultureInfo in this example is not purposefull. The local time is always the local time of the local computer where the code is executed and not the local time in France or Germany because of the choosen CultureInfo

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: c4b63c97-b6d7-63d5-7b05-3adb5e8839a7
* Version Independent ID: ac68d0f2-eff1-19fe-1ec7-06ff37f514a2
* Content: [DateTime.Now Property (System)](https://docs.microsoft.com/en-us/dotnet/api/system.datetime.now?view=netframework-4.7.2)
* Content Source: [xml/System/DateTime.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System/DateTime.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.