Skip to content

Instantly share code, notes, and snippets.

@noromanba
Created February 19, 2012 09:44
Show Gist options
  • Save noromanba/1862832 to your computer and use it in GitHub Desktop.
Save noromanba/1862832 to your computer and use it in GitHub Desktop.
Stdout iso8601 format with ActiveScriptRuby
@rem ===========================================================================
@rem Stdout iso8601 format with ActiveScriptRuby.
@rem @author noromanba
@rem @license MIT License http://nrm.mit-license.org/2011-2012
@rem @see https://gist.github.com/1862832
@rem ===========================================================================
@echo off
cd %~dp0
ruby -rtime -e 'puts Time.now.iso8601'
ruby -rdate -e 'puts DateTime.now'
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment