????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.28 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/b8009/php-5.6.22/ext/xsl/tests/ |
Upload File : |
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
extension-element-prefixes="date">
<xsl:output method="text"/>
<xsl:template match="date">
Test Date : <xsl:value-of select="@date"/>
<!-- dateTime, date, gYearMonth or gYear; else NaN -->
year : <xsl:value-of select="date:year(@date)"/>
<!-- dateTime, date, gYearMonth or gYear; else NaN -->
leap-year : <xsl:value-of select="date:leap-year(@date)"/>
<!-- dateTime, date, gYearMonth, gMonth or gMonthDay; else NaN -->
month-in-year : <xsl:value-of select="date:month-in-year(@date)"/>
<!-- dateTime, date, gYearMonth or gMonth; else '' -->
month-name : <xsl:value-of select="date:month-name(@date)"/>
<!-- dateTime, date, gYearMonth or gMonth; else '' -->
month-abbreviation : <xsl:value-of select="date:month-abbreviation(@date)"/>
<!-- dateTime or date; else NaN -->
week-in-year : <xsl:value-of select="date:week-in-year(@date)"/>
<!-- dateTime, date; else NaN -->
day-in-year : <xsl:value-of select="date:day-in-year(@date)"/>
<!-- dateTime, date, gMonthDay or gDay; else NaN -->
day-in-month : <xsl:value-of select="date:day-in-month(@date)"/>
<!-- dateTime, date; else NaN -->
day-of-week-in-month : <xsl:value-of select="date:day-of-week-in-month(@date)"/>
<!-- dateTime, date; else NaN -->
day-in-week : <xsl:value-of select="date:day-in-week(@date)"/>
<!-- dateTime or date; else NaN -->
day-name : <xsl:value-of select="date:day-name(@date)"/>
<!-- dateTime or date; else NaN -->
day-abbreviation : <xsl:value-of select="date:day-abbreviation(@date)"/>
<!-- dateTime or time; else '' -->
time : <xsl:value-of select="date:time(@date)"/>
<!-- dateTime or time; else NaN -->
hour-in-day : <xsl:value-of select="date:hour-in-day(@date)"/>
<!-- dateTime or time; else NaN -->
minute-in-hour : <xsl:value-of select="date:minute-in-hour(@date)"/>
<!-- dateTime or time; else NaN -->
second-in-minute : <xsl:value-of select="date:second-in-minute(@date)"/>
</xsl:template>
</xsl:stylesheet>