Reputation:
I have a variable called Y which i need the value to be any date I type in but I'm unsure how to do it?
Upvotes: 0
Views: 31
Reputation: 30416
Are you looking for strptime()? It lets you parse a string into a date value.
Upvotes: 1