You need to sign in to do that
Don't have an account?
Kirtish Shrotriya
how to get month start date and end date for custom string date
I've a string field conatins date as 'month & year' example '1 2018', '2 2018'. I want to get month start date and moth end date for that custom string field. how can i archive that.?
Then split the string and find the month from it and year in case of leap year condition for it
Convert the string to number by Integer.valueOf(string)
Then use the following code to find the end date.