Linux DB PHP Scripts Tech Diary
Search This Blog
Friday, May 13, 2011
ruby date format yyyymmdd
[root@nt cronjobs]# irb
irb(main):001:0> today = Time.now.strftime("%Y%m%d").to_i
=> 20110513
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment