mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
fix
This commit is contained in:
+1
-1
@@ -17,6 +17,6 @@ internal sealed class DateTimeUtils
|
||||
[KernelFunction, Description("Retrieves the current date time in UTC.")]
|
||||
public static string GetCurrentDateTimeInUtc()
|
||||
{
|
||||
return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
return DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user