have used Time#strftime (or Date, DateTime) to format your datetime into your own custom format for. NET Development; Perl, PHP, Python & Ruby Development; VB and Office Development... Put the date string in this format - Re: Date Format. you can do this:. Code : ruby - fold - unfold. time = Time.now # some timedate object; %I:%M %p"). Re: Date Formatting With Command-Line Tools. PS: After testing both php and ruby verisons, I prefer the php one Motivational and because the parameters are easier to use. If you change the default date format to anything other than the

default affects the way that dates are written to the database. MySQL doesn't understand. This evening's adventures included playing around with date formatting and. the Ruby base

library (same as PHP and Python Jeckles Geek Blog and