Please help.......... I have a what seems an improbable tast, and am not a natural programer and I will be very greatfull if any one with the know how could help..
I am attempting to write a piece of code that can look at any date and do the following:
I have 4 reporting periods 01/mm/yyyy, 08/mm/yyy, 15/mm/yyyy/ and 22/mm/yyy.... in sort (1.8.15and 22nd of every month)....
Is there a way to code a script that could, convert a given date from a screen capture to one of the following dates..
e.g. if my scripts caputers any given date say 11/02/07.
Is there a way of writing a piece of code, that can take the prsented date snd set it back to one of the reporting periods above,,,
...( so if I get a date of 11/02/07, the code would set a default date of, 01/02/07).. However if I get a date of 08/02/07, then it would only set the date back to 01/02/07.......
In sort any given date would be set back to two of the reporting periods above...
Sorry in advance, I do not have a piece of code to start with as I don't know where to begin....
P.S... I am not trying to capture system date.... Just a field on the screen which has a date field,, its static, in a position ( 14, 07) on the screen....
I would apreciate anyons help......
I am attempting to write a piece of code that can look at any date and do the following:
I have 4 reporting periods 01/mm/yyyy, 08/mm/yyy, 15/mm/yyyy/ and 22/mm/yyy.... in sort (1.8.15and 22nd of every month)....
Is there a way to code a script that could, convert a given date from a screen capture to one of the following dates..
e.g. if my scripts caputers any given date say 11/02/07.
Is there a way of writing a piece of code, that can take the prsented date snd set it back to one of the reporting periods above,,,
...( so if I get a date of 11/02/07, the code would set a default date of, 01/02/07).. However if I get a date of 08/02/07, then it would only set the date back to 01/02/07.......
In sort any given date would be set back to two of the reporting periods above...
Sorry in advance, I do not have a piece of code to start with as I don't know where to begin....
P.S... I am not trying to capture system date.... Just a field on the screen which has a date field,, its static, in a position ( 14, 07) on the screen....
I would apreciate anyons help......