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

GetNow() static private method

Gets the current local time with respect to the current PHP time zone.
static private GetNow ( Context ctx ) : System.DateTime
ctx Pchp.Core.Context
return System.DateTime
		internal static System_DateTime GetNow(Context ctx)
        {
            return TimeZoneInfo.ConvertTime(System_DateTime.UtcNow, PhpTimeZone.GetCurrentTimeZone(ctx));
        }