You can get these using a variety of tools:
These documentation links may be useful:
Hope that gets you started.
You can use the date functions to accomplish this. Some of these ways may be easier to accomplish using a java action though.
Month end date - Doing this in a microflow can be a little tricky but you can use the addMonth function to add a month, then use the trimToMonth function to get the date to the first date of the month, and then you can use the addDays function to add a negative day to get the last day of the month.
first add a month
Then get the date to be the first of the month
Then subtract a day
I'm not too sure how it would work if you nested all these functions. You could play around with it.
Week end date - You could use the parseInteger function and the formateDateTime function to return the day of the week as an integer. Monday being 1, and Sunday being 7. Then you can subtract this integer by 7 and use the addDays function to add the difference to your date to get the week end date.
Get the day of the week as an integer and store it in a variable called $WeekDay
Subtract the day of the week integer by 7 and store in a variable called $Difference
$WeekDay - 7
Add the difference to your date to get the end of the week date
Year - This would just use the formatDateTime function and regex
formatDateTime( $dateVariable, 'yyyy')
Quarter - I think for this one you want to see what quarter the date falls in? So if we started Jan 1st and ended Dec 31st, Jan - Mar would be quarter 1, Apr - June would be quarter 2, etc. For this you could define a start and end date for your period (maybe with constants or how ever you want to do it), then in a microflow you could use DaysBetween with your start and end date to return an integer, then you can divide that integer by 4, and then create 4 variables using the add days function to define your quarters. Then using exclusive splits you can do a check for each quarter to see if the date is less than or equal to each quarter.
Start with getting days between your period and store it in a variable called $NumberofDays
divide NumberOfDays by 4, and store that in a variable called $quarter
$NumberOfDays : 4
Then create 4 date time variables that would be your q1, q2, q3, q4.
Then use 4 exclusive splits to check if your date is less than or equal to q1, q2, q3, or q4, and then you can determine which quarter that date falls under.
Hour - This would just use the formatDateTime function and regex
formatDateTime( $dateVariable, 'HH')
Hope this helps!