Skip to content

Commit

Permalink
Correcting copy paste error
Browse files Browse the repository at this point in the history
Now => UtcNow in Utc functions
  • Loading branch information
TextMisadventures committed Nov 25, 2024
1 parent 2f66144 commit fd51e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WorldModel/WorldModel/Functions/DateTimeFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ public static string CurrentTime()

public static string CurrentUtcDate()
{
DateTime utcDate = DateTime.Now;
DateTime utcDate = DateTime.UtcNow;
return utcDate.ToShortDateString();
}

public static string CurrentUtcTime()
{
DateTime utcTime = DateTime.Now;
DateTime utcTime = DateTime.UtcNow;
return utcTime.ToShortTimeString();
}

Expand Down

0 comments on commit fd51e15

Please sign in to comment.