Answers for "rails column type date"

0

rails column datetime

:datetime
# Stores Date and Time formatted YYYY-MM-DD HH:MM:SS
# Useful for columns like birth_date

:timestamp
# Stores number of seconds since 1970-01-01
# Useful for columns like updated_at, created_at

:date
# Stores Date

:time
# Stores Time
Posted by: Guest on March-01-2021

Code answers related to "rails column type date"

Browse Popular Code Answers by Language