1
0
mirror of synced 2024-12-18 17:25:54 +01:00
GC-local-server-rewrite/Application/Common/Helpers/TimeHelper.cs

14 lines
315 B
C#
Raw Normal View History

namespace Application.Common.Helpers;
public static class TimeHelper
{
public static string CurrentTimeToString()
{
2023-02-16 08:26:13 +01:00
return DateTime.Now.ToString("yyyy/MM/dd hh:mm:ss");
}
public static string DateToString(DateTime time)
{
2023-02-16 08:26:13 +01:00
return time.ToString("yyyy/MM/dd hh:mm:ss");
}
}