Hi all,
How to change date format from Y/m/d to Y-m-d in ruby?
thanks
Hi all,
How to change date format from Y/m/d to Y-m-d in ruby?
thanks
Date.today.strftime(ā%Y-%m-%dā)
Esha
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs