Index PHPmyEasyWeather PHPmyEasyWeather Homepage

getIssueTime

getIssueTime -- return time of issue out of METAR or TAF Code

Description

string getIssueTime (string $METAR_TAF, string $LANGUAGE);

getIssueTime will return the date and time of issue of the indicated METAR or TAF code. The format of the returned value depends on the 2nd parameter ($LANGUAGE) as follows:

28th 04:00 PM GMT     for $LANGUAGE = "EN" (or "en")
28. 16:00 GMT         in any other case

getIssueTime doesn´t return month or year, only month´s day as it is common for METAR / TAF encoding. Normally the time of issue will be reported in any case and in any METAR or TAF code. If not, getIssueTime will return false. The value returned by getIssueTime may be different from the one you get from getMetarFromWWW or getTafFromWWW.


Previous Up Next