Just to follow up on this, don’t know if my widget isn’t working but having set up a date-type TV using the unixtime widget my TV values are still being stored in the mod-x database as MySQL date strings.
Would I be right in assuming then that widgets only affect the display of the TV and not how the value is stored in the modx database.
For example, 4th February is stored as 04-02-2008 00:00:00 rather than 1202083200.
If so, if I want to filter a Ditto call using @EVAL on this TV then I would have to use a suitably formatted date() function rather than time().
For example,
&filter=`EventDate,@EVAL return date('d-m-Y');,4`
Is this right (well, it works on my system) or is my widget bust?
Cole