Hi,
how can I read the calendar week (this week: 47) from a time variable -
and vice versa how can I read a time variable from calendar week (e.g.
monday
0h)?
thx, Rudolf
Hi,
how can I read the calendar week (this week: 47) from a time variable -
and vice versa how can I read a time variable from calendar week (e.g.
monday
0h)?
thx, Rudolf
Hi,
That would be: Time.now.strftime("%W") and Date::commercial(year, week,
day)
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