There's a + sign missing before the last two FormatDateTime calls. I wonder why PS doesn't complain about the syntax error.
I will close the Mantis ticket.

AAAAARRRRGGGGHHH!

A missing concatenation operator
>SIGH<. Of course …
HOWEVER

, now that I've corrected that, I see another problem and (I think) how to solve it.

Referring to them by their constant names:
An
sttReal returns blank or (obviously?) the current date and the actual start time. If
sttReal returns a non-blank, it implies (?) that the Item is currently playing.
An
sttPlanned always returns blank at present: it is not in use until mAirListDB exists, when it will show the DB-planned start time (and hopefully date as well!??) if one exists.
So far, so good! BUT …
An
sttFixed returns blank or the fixed start time with a (constant) date of 30/12/1899. It would be MUCH better if the
actual start date was returned instead of 30/12/1899. This would need to take account of any change of date when a Playlist runs 'over' midnight. For example:
- =23:59:50 News jingle
- =00:00:00 <COMMAND> Run News playout script
The dates returned by
sttFixed for these two items will be different; or they SHOULD be.

An
sttEstimated returns blank or the
relative or actual estimated start time with a (constant) date of 30/12/1899. In a currently 'stopped' or 'idle' Playlist, these always start with 00:00:00 and follow as expected (for example 00:03:36, 00:08:01, … ). Therefore it is impossible to know whether the returned value is
relative as in my examples, or an
actual time of midnight. If
actual estimated times were instead returned with the
current date (same caveat as sttFixed about 'crossing midnight' applies), it would be very easy to tell whether a returned estimated start time is relative (date = 30/12/1899) or actual.
It's not easily possible to write a script to insert Items based on existing start times in the Playlist, unless you can be certain that the estimated time you are picking up is actual and NOT relative. Which probably means I also need to check whether or not the Playlist has its
Update backtiming when idle option set ON, as well as whether it is currently playing.

So to sum up, this is now a Feature Request to return the current date (or maybe tomorrow's date if it's after midnight) instead of 30/12/1899 for sttFixed, and also for sttEstimated when it contains an ACTUAL estimated start time (not a RELATIVE one).
(PS: What I'm planning is a script to insert an Ads. playlist so it plays 'as close as possible' to, for example, nn:20:00 or nn:40:00, in a live-assist situation. This means I need to know start times of existing items to work out WHERE to insert the Ads. Playlist, if that makes sense? Of course, if the presenter is yakking on, I can't move the inserted Ads. after the fact, but it still seems the best solution.

)
--
BFN
CAD