I have some code, mostly Javascript functions. It has one line of PHP in it. var servertimestring= ’<? print date("F d, Y H:i:s", time())?>’
I have tried it in a Snippet and in a Chunk but it will not give the correct results.
How do I bring this code into modx ?
Thanks in advance..
Chris
Works like a charm!
thanks
Chris