Is there any way to select the first day of the month And the middle day of the month?
i found the solution for retrieving the first day but not for the mid of the month.
If possible could i select the range too?
Add 14 days to first day of month then you will get Middle day of the month.
1 Like
okay thanks, i have another question too, if i have a string values with like ‘Mar’ ‘Apr’ ‘May’ and so on, i would like to convert them back to like date (or datetime) format for calculation of some date stuff. How can i do that?
Datetime.parseexact(“Mar”,“MMM”,system.gobalization.cultureinfo.invariantculture).tostring(“MM”)
1 Like
wait but i need it to be back into a date for calculation
Check how many days are in the month and find the half
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.