NET Framework 4.6+/.NET Core), older versions: var epoch = (DateTime.UtcNow - new DateTime(1970, ... MySQL, SELECT unix_timestamp(now()) More MySQL examples.
確定! 回上一頁