Obtain the current Day of the Week
Then determine how many days away Friday is
Then add that many days in seconds to the current timestamp
Obtain the date of the new timestamp
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).