This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class UnixTime | |
{ | |
private static readonly DateTime UNIX_EPOCH = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); | |
/*===========================================================================*/ | |
/** | |
* 現在時刻からUnixTimeを計算する. | |
* | |
* @return UnixTime. | |
*/ |