Replies: 7 comments
-
So you want to get a date for a specific day of the week (Monday, Tuesday...), for a specific week in the year? And if that's the case: Is that correct? |
Beta Was this translation helpful? Give feedback.
-
@soywiz Not for a specific week of they year, just for the next. The idea is to set notify user the next week at convenient time. For example. Current datetime - 09:08 am, 25th of July 2021. Then the date returned by this function would be: |
Beta Was this translation helpful? Give feedback.
-
In next version of Klock, you will be able to do this:
It is locale-dependant because in some places, week starts on Sunday, in others in Monday. Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
@soywiz That would be awesome! Thanks |
Beta Was this translation helpful? Give feedback.
-
@soywiz |
Beta Was this translation helpful? Give feedback.
-
The function I created works with |
Beta Was this translation helpful? Give feedback.
-
@soywiz yes, that would work |
Beta Was this translation helpful? Give feedback.
-
Hi. Currently in Android I use the following code:
How can I do the same with KLock?
The purpose of this code is to take get time of the next week day when I need to send a notification.
Beta Was this translation helpful? Give feedback.
All reactions