Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for isodate_php.bat

(view source code of isodate_php.bat as plain text)

  1. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Usage:  ISODate.bat  year  week  day  format
  3. :: Where:  year, week and day are integers, format is a PHP date format like Ymd or m/d/Y (case sensitive)
  4. @IF NOT "%~4"=="" PHP.EXE -r "$date=date_create();date_isodate_set($date,%~1,%~2,%~3);print(date_format($date,'%~4'));"
  5.  

page last uploaded: 2016-12-15, 11:20