Answers for "date column ruby on rails"

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 "date column ruby on rails"

Browse Popular Code Answers by Language