Personally, I would probably just store them as text, because I’m objectively a terrible programmer.
I don’t know man, I’d far prefer storing a string and have whatever date library I’m using figure it out than have to deal with whatever the database thinks about dates and timestamps