Skip to content

@ChrisMissal /Issue.cs
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Using the DebuggerDisplayAttribute to show the UTC and Local time of a DateTime property.
public class Issue
{
public Issue()
{
Created = DateTime.UtcNow;
}
[DebuggerDisplay("Local = {Created.ToLocalTime()}, UTC = {Created}")]
public DateTime Created { get; private set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.