Gistlib Logo

gistlib

other ruby categories

timestamp code snippets in ruby

check if string starts with a timestamp in ruby
check if string starts with a timestamp and capture suffix in ruby
find the current date in ruby
find the last modified date of a file in ruby
format a date in to the format 'yyyy-mm-dd hh:mm:ss.fff' in ruby

gistlibby LogSnag