Hey HF, long time no see.
Got a script which i need to subtract 25 minutes from, essentially at the moment data is being gathered from a SQL database when being input/plotted into an Excel spreadsheet. The time on the spreadsheet needs to be 25 minutes sooner than what the SQL Database outputs - What i've got at the moment is below.
Can't seem to find any documentation on strftime which explains what i want, i assume it needs to look something like the below, although its not working:
Any suggestions?
TIA 🤝
Got a script which i need to subtract 25 minutes from, essentially at the moment data is being gathered from a SQL database when being input/plotted into an Excel spreadsheet. The time on the spreadsheet needs to be 25 minutes sooner than what the SQL Database outputs - What i've got at the moment is below.
PHP Code
<?php
plotsheet.write(ssrow,1,sector['std'].strftime("%H:%M"), boldformat)
Can't seem to find any documentation on strftime which explains what i want, i assume it needs to look something like the below, although its not working:
PHP Code
<?php
plotsheet.write(ssrow,1,sector['std'].strftime("%H:%M - 15M"), boldformat)
Any suggestions?
TIA 🤝



![[Image: 0DvFxnA.gif]](https://i.imgur.com/0DvFxnA.gif)