I have a simple but tricky code to write where I have given the date String of today in UTC time.
String s = Instant.now().toString().replaceAll("T.*", "");
I need to find the first and last days of the last month and store them in separate Strings. Any advice on how to achieve it best?