PHP Snippet in Server connect

Could someone be so kind as to point me to a tutorial on adding using a php snippet in the server connect.

ie: <?php $time = date("YmdHis"); echo $time; ?>

this timestamp is just an example, If I can see this maybe I can add other snippets as required.


@medicaltransport what are you trying to achieve?

I use the timestamp in 2 different formats,
1: timestamp a DB record when a form is submitted, this is what I used in dreamweaver <?php echo date("Y-m-d H:i:s");?>
2: This timestamp format I use to create a customer number when a form is submitted <?php $time = date("YmdHis"); echo $time; ?>


In both cases you can use the NOW/NOW_UTC or TIMESTAMP binding available in the Server Connect data picker:

Then just format the value as you need it using the datetime formatting options.

I see it, thank you. I’m trying to learn my way around and rebuild a large backend site I build in dreamweaver.