C#

현재 시간을 초로 변환

소나무꼴 2021. 6. 18. 17:26

double timeSeconds = TimeSpan.FromTicks(DateTime.UtcNow.Ticks).TotalSeconds;