Formatting Time for timer input

If I can get the output from the moment into payload.ontime I think I'm golden
well since the moment node puts the data in msg.payload, you should look at this thread:
Using template node and mustache syntax simply