Thanks, friend. This was a useful guide.
I have one token to add:
My profile would not trigger correctly because the variables for time had come out in scientific (E) notation (and also contained fractions of a second). The time profile trigger could not handle this as a unix timestamp and would not trigger.
You may need to surround your time math with the round() function:
round(%TIMES+%seconds-(%mins_before*60))
Cheers