techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

5.3K
active users

Kaffeinated Studio

on tips

Date.today.all_day
Date.today.all_week
Date.today.all_month
Date.today.all_quarter
Date.today.all_year

Use these methods to easily get date ranges.

They also work with the DateTime class.

@kaffeinated I’ve been a Ruby developer for years and didn’t know you could get date ranges this way. Thanks for sharing!