I was working with LocalDateTime and trying to see if the purchase date(in my case) is withing last x units(days/hours) I achieved this the following ...
I was working with LocalDateTime and trying to see if the purchase date(in my case) is withing last x units(days/hours) I achieved this the following ...
I have found numerous ways of getting parts of the result, but I'm obviously lacking in-depth knowledge of the various functions to arrive at what I n ...
With today's date, I should get the 16th date of next month. For example, on passing 13-12-2021, I should get 16-01-2022. I need to get the next mon ...
I need to find the next n Fridays but want to exclude 4th and possibly 5th Fridays, i.e I want to get the next n Fridays which are 1st, 2nd or 3rd of ...
i need to write a code that takes in input an integer called mese(this int goes from 0 to 5), this integer will be added to the current month, that be ...
I thank you for possible answers. The problem is, I work with a legacy system with Java 1.4. In a registration form you have the following fields: 'Pe ...
Can you help me with a function that receive a parameter which is the calendaristic date(12.4.2020) and returning me two dates that represent dates of ...
Can you help me with this problem? I tried to make a function that receives a parameter of type Date e.g. 12.11.2020. I want it to return the previous ...
input list from date ex) 2020-10-01 to date ex) 2020-10-30 List [day of week] ex) [sun,mon....] List [week] ex) [1,4,5] I would like to k ...
I want to flag the first date in every window of at least 31 days for each id in my data. Data: The desired rows to flag are rows 1, 4, 6, 7, and ...
I want to flag the first date in every window of at least 31 days for each ID unit in my data. The desired rows are 1, 4, 6, 7 and 9; these are eit ...
I have this log file (log.txt): and I want to calculate the statement that was the slowest successful statement for example: start time - 2018-11- ...
For an easy example : There is only a column named Date with two values in str32 type. How could I convert the Date column into a Date Format in d ...
I'm migrating old reporting systems to a modern Java code base and stumbled upon Microsoft Sql Server stored procedure that generated table with dates ...
I want to calculate 4 months after the date I pulled from the database. How can I do that. The output of history is as follows. Wed Nov 27 14:42:23 G ...
A bit of an odd business request just came up. We have contracts that span multiple years. The system maintains the contract's End Date. I have to det ...
I'm trying to get a date with a Month number, week of month number and a day of week number I thought this will be easy and did this: nextBookingDa ...
Im trying to build an application with recurring events. In my database i have a table recurring_pattern: seperation_count: if an event needs to be ...
I have the server where system timezone is EST It was set with Then in my perl code i try to detect timezone and convert time to UTC And for some ...
I have a datetime object called dt and I want to get the next date which 0.93 years away from it. I was trying relativedelta but it seems that the fun ...