Pchp.Library.DateTimeFunctions.gettimeofday C# (CSharp) Method

gettimeofday() public static method

Gets time information.
It returns PhpArray containing the following 4 entries: "sec"Unix timestamp (seconds since the Unix Epoch) "usec"microseconds "minuteswest"minutes west of Greenwich (doesn't take daylight savings time in consideration) "dsttime"type of DST correction (+1 or 0, determined only by the current time zone not by the time)
public static gettimeofday ( Context ctx ) : PhpArray
ctx Pchp.Core.Context
return Pchp.Core.PhpArray
        public static PhpArray gettimeofday(Context ctx)
        {
            return GetTimeOfDay(System_DateTime.UtcNow, PhpTimeZone.GetCurrentTimeZone(ctx));
        }

Same methods

DateTimeFunctions::gettimeofday ( Context ctx, bool returnDouble ) : object