Question
What is Appropriate data types?
I am considering what data types suit for these properties;
1) when I manage how long I have worked for last month
for example, I have worked for 8 hours today and I have worked for 6 hours yesterday.
So I have worked 14hours in total.
I want to calculate like this.
2) when I want to indicate only month;
If I use "date" data type, it indicates month and day .. for example, 6/26.
How I get only month?
Thank you for reading and answering.
***Edited by Moderator Marissa to update Platform Capability tags****
Hi,
If your looking for function to get only Month from Date, there is OOTB function which fetches Month from current Date Time. so write similar function which accepts Date value as parameter and extracts Month from parameter value and return month(Please check available function before create any new function from your application).
Hope this will helpful.
-Chandu