Hi, I have a file which I receive on any day from 1st of every month to 5th date. I have below queries:
1. How can I extract date on which I have received file/system date.
2. can I store it in a variable.
3. How to check if the date is between 1-5th of every month. it should give an alert if file is received after 5th.
3. Now after extracting date, I need to extract month from the date and then have to compare/ensure that the value field for current and previous months is not 0.
Below is the sample data:
| | | | |
| File Date | 3/4/2019 | | |
| Month Extracted | April | | |
| | | | |
| Data Set | | | |
| Name | Month | Values | Flag (Y/N) |
| A | Jan | 55,759 | here, the file month is April, and Jan<April then Flag=Y |
| B | Jan | 58,416 | Y |
| C | Jan | 28,071 | Y |
| A | Feb | 68,328 | Y |
| B | Feb | 88,853 | Y |
| C | Feb | 64,532 | Y |
| A | Mar | 33,014 | Y |
| B | Mar | 97,231 | Y |
| C | Mar | 27,733 | Y |
| A | Apr | 9,765 | Y |
| B | Apr | 91,650 | Y |
| C | Apr | 96,848 | Y |
| A | May | 0 | N since Current Month is april, so have no values for May and June |
| B | May | 0 |
| C | May | 0 |
| A | Jun | 0 | N |
| B | Jun | 0 | N |
| C | Jun | 0 | |