Originally posted by KuroSekaie
View Post
teak
/** * Returns this date as the number of seconds since the Unix Epoch (January 1st of 1970). * * @return Time of day. * see FromUnixTimestamp */ CORE_API int64 ToUnixTimestamp() const { return (Ticks - FDateTime(1970, 1, 1).Ticks) / ETimespan::TicksPerSecond; } /** * Returns the date from Unix time (seconds from midnight 1970-01-01) * * param UnixTime Unix time (seconds from midnight 1970-01-01) * @return Gregorian date and time. * see ToUnixTimestamp */ static FDateTime FromUnixTimestamp( int64 UnixTime ) { return FDateTime(1970, 1, 1) + FTimespan(UnixTime * ETimespan::TicksPerSecond); }
/** * */ #pragma once
#pragma once // Define that controls debug drawing #define ENABLE_DRAW_DEBUG !(UE_BUILD_SHIPPING || UE_BUILD_TEST) #if ENABLE_DRAW_DEBUG
Comment