小编Kev*_*vin的帖子

How can I display different phrases depending on the time of day with javascript?

For example, if it's between 8 and 1 pm, it would say "good morning", if it's 1:01-6:00 pm, it would say "good afternoon" and if it's between 6:01-11:59, it would say "good evening"

How do I go about doing that using javascript/jquery?

javascript

2
推荐指数
1
解决办法
208
查看次数

标签 统计

javascript ×1