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. :: https://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 modified: 2024-04-16; loaded in 0.0049 seconds