Another option if you’re starting out learning Elm and want to carry on quickly:
import Date
import Time exposing (Month(..)) -- comes from `elm install elm/time`
init : Model
init =
{ currentdate = Date.fromCalendarDate 2022 Jan 15 }
This will get you a hardcoded date value, but it might be helpful if you want to limit what you’re learning and just keep going right now.
If you are learning it’s totally okay to work up to to things like tasks/ports later!