dotnet / dotnet/dotnet-api-docs
The Example is not purposeful.
- 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
Assessment
This issue has not been assessed yet.