<@U01EY27APNH> / <@U0BJDA84R> can I get some clari...
# documentation
a
@Mark Takata (Adobe) / @saghosh can I get some clarification pls. On https://helpx.adobe.com/uk/coldfusion/cfml-reference/coldfusion-tags/tags-r-s/cfschedule.html it says
startDate = "date"
, and there are examples in US format:
startDate = "8/17/09"
, and in more-sensible-country-format:
startDate="25/12/2017"
. And I note in our code (running on Lucee, but still), we're giving it a DateTime object (and this works on Lucee). Could you pls elaborate on what is actually expected here? I suspect it's "a simple value that can somehow be interpretted as a date, or maybe a date object will work too. Good luck"?
m
My understanding is that it expects something it can cast to being a date. Hopefully, accurately. So your description is not far off (though, as you might know, "good luck" applies to a lot of auto-cast stuff lol). @priyank_adobe do you have a more technical answer you can give here?
a
Yeah and what date is
6/7/2023
? I presume it's the wrong one from my perspective. If only there was some sort of *O*rganisation... that deal with *I*nternational *S*tandards. Then they could maybe - just maybe - come up with a format that works ubiquitously. And vendors could use that. #dreaming
m
Any date with you is the right one buddy ❤️
😂 2
😆 1
a
Ooh big fella, tell me more.
Just looked into how how ISO-8601 has been around... since 1988. So... predating CF entirely. And the
yyyy-mm-dd
format was a standard since ISO-2014, which was released in... 1976. Someone needs to go back in time and slap someone at Allaire.
m
They're into Crypto now. So they're slapping themselves 😄
a
Well as long as they get slapped. That's the main thing. Job done.