/// <summary> /// Returns the Unix timestamp for the specified <c>date</c>. The Unix timestamp is defined as the amount /// of seconds since the start of the Unix epoch - that is <c>1st of January, 1970 - 00:00:00 GMT</c>. /// </summary> /// <param name="date">The isntance of <see cref="DateTime"/> the timestamp should be based on.</param> /// <returns>An instance of <see cref="System.Double"/> representing the Unix timestamp.</returns> public static double GetUnixTimeFromDateTimeAsDouble(DateTime date) { return(TimeUtils.GetUnixTimeFromDateTimeAsDouble(date)); }