Gamecreatures' Development Blog

Software Development Adventures

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Tag Archives: freebsd

Post navigation

Newer posts →

FreeBSD, (SuSE) Linux date differences

Posted on 4 September, 2007 by admin
Reply

I wanted to retrieve yesterdays date with a format of YYYYMM
This was solved in FreeBSD like this:

date -v-1d  "+%Y%m"

(SuSE) Linux doesn’t know the -v option
The same thing in Linux could be done like this:

date -d yesterday "+%Y%m"

Why the difference?

share!
Posted in freebsd, linux | Tagged date, freebsd, linux | Leave a reply

Post navigation

Newer posts →

Calendar

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives

  • April 2012 (1)
  • February 2012 (1)
  • December 2011 (1)
  • November 2011 (1)
  • October 2011 (1)
  • September 2011 (3)
  • August 2011 (5)
  • July 2011 (1)
  • September 2009 (1)
  • August 2009 (1)
  • November 2008 (2)
  • June 2008 (1)
  • May 2008 (2)
  • April 2008 (1)
  • March 2008 (1)
  • February 2008 (1)
  • January 2008 (4)
  • December 2007 (2)
  • September 2007 (4)
  • August 2007 (15)
  • July 2007 (13)

Tags

actionscript ajax ansi apache blog book calendar constants date eclipse flash freebsd httpd ie iis java javascript less libhttpd linux locking mantis microsoft mssql mysql objects php prototype rails rexml rsync ruby shell sourceforge ssh subversion svn table test tools updates webrick windows wordpress xml

Categories

  • apache
  • blog
  • books
  • browsers
  • flash
  • freebsd
  • javascript
  • libhttpd
  • linux
  • misc
  • mysql
  • os x
  • php
  • rails
  • rsync
  • ruby
  • svn
  • windows
  • wordpress

RSS FreeBSD Security

api

  • Got API
  • Haml
  • Prototype API
  • ReXML API
  • Ruby API Refs
  • Sass

frontpage

  • Coffeescript
  • GitHub
  • http://html5boilerplate.com/
  • Mikker.nl
  • Modernizr

Links

  • Java libhttpd

stock-resources

  • FreeSounds
  • Sock XCHNG

tools/windows

  • grepWin
  • Powermenu
  • Scite Tools
  • StExBar
Proudly powered by WordPress