G'day,
Sorry, I haven't actually used the Wrapper snippet, so I don't know how it works.
I guess you could write a snippet that gets the correct date and passes it to the Wrapper snippet.
Or produce a customised version of the Wrapper snippet adding in the code you need. Something like this:
// get the Etomite server offset time in seconds
$server_offset_time = $etomite->config['server_offset_time'];
if (!$server_offset_time) {
$server_offset_time = 0;
}
$timestamp = time() + $server_offset_time;
$dayURL = strftime("%F/%d/%Y", $timestamp);
And then pass that $dayURL value into where the Wrapper snippet gets its passed varaiables and thus make the url you need the default value for wurl.
Alternatively, if Etomite permits, and I'm not sure it does, you might try something like this in your template/content:
[!Wrapper?wurl=http://www.site.com/day.php?day=[!DateTimePlus?format=F/d/Y!]!]
Though I suspect that even if something like that were possible, you would probably still need to escape those extra ? characters in some way.
Have a play. Or maybe someone else will drop by with a nailed solution for you.
Best Regards, Lloyd.