Rails 3 查找星期几
问题描述:
我正在尝试制作自己的日历,因为我似乎无法获得有关事件日历的任何帮助,所以我想做的是显示星期几,即 .. 2011 年 1 月 1 日是星期六,是否有一个简单的命令得到那一天还是我需要别的东西
I'm trying to make my own calendar because i cant seem to get any help with event calendar so what im trying to do is Display the day of the week ie.. January 1 2011 is a Saturday is there an easy command to get that day or do i need something else