Answer the question
In order to leave comments, you need to log in
How to correctly parse the reminder date/time from the string (Tomorrow/every Tue/at 14:00)?
I am not a professional developer, programming is a hobby for me. Just for fun, I'm writing a reminder that takes a string.
Accordingly, from this line it parses the reminder text and, in fact, when to remind about it.
I would like the input to be as flexible as possible, i.e. not just a specific date time, but options like:
Every Tuesday at 14:00 for a massage
To a driving school the day after tomorrow at 19:00
On weekdays at 17:00 check the
report I quickly get confused.
So I thought, maybe everything has already been written before me and somewhere you can see how the rules do it. boys?
Answer the question
In order to leave comments, you need to log in
An example of a command parser for a robot ( F#, Dmitry Soshnikov ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question