[Obsolete("System local time is almost always inappropriate to use. If you really need this, call UtcNow and then call ToLocalTime on the result")]DateTime Now { get; }
Gets a DateTime object that is set to the current date and time on this computer,
expressed as the local time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-11 UTC."],[[["The `IClock` interface serves as a clock wrapper for retrieving the current time."],["It provides access to the current date and time in both local time via the `Now` property and UTC time via the `UtcNow` property."],["The `Now` property, which represents local time, is marked as obsolete and suggests using `UtcNow` followed by `ToLocalTime` instead."],["The latest version of the documentation is 1.69.0, and older versions such as 1.68.0, 1.60.0, 1.59.0, 1.55.0, and 1.50.0 are also accessible."]]],[]]