Search the Community
Showing results for tags 'insert echo time'.
-
Hi, this is one of those things I'm going to feel stupid about asking here, but I need to insert an echo time element in the main page and/or homepage, and not sure of the schema to use inside these templates for the call to php to echo that ... normally I'd do something like <?php echo "<b>".date('l, F jS, Y ')."</b>"; ?> Basically I need to be able to in one place do something like: Today is Sunday, December 9th, 2012 I don't need help with the Apache time settings... just the correct "call' format inside of a CubeCart template to echo this. e.g. { $date = date('Y-m-d H:i:s'); } I haven't tried inserting such calls into a CC template before, oddly enough, even though I've been hacking it since 2010 for our services order system (we sell services, not products). As I said -- going to seem dumb asking that, but thought I'd check before I start messing with it only because it's live and don't want to break something while customer using it (which is murphy's law on this stuff). Thanks in advance, gentle CubeCart fellows :-)