Thanks for this, that's a huge help and will get me on the right track.
Simple and elegant solution!
--------------- Added [DATE]1303739419[/DATE] at [TIME]1303739419[/TIME] ---------------
I've almost got this working using your code above - although on 3.8 if I choose one the 'Normal' or 'Yesterday / Today' option it doesn't show the time - only the Today/Yesterday/01-01-2001 part. Is there a way to fix that?
--------------- Added [DATE]1303740017[/DATE] at [TIME]1303740017[/TIME] ---------------
I've done some more looking around and it looks like it may have something to do with $show['detailedtime'] in the templates? If that isn't set then it won't show the time - would that have something to do with this?
--------------- Added [DATE]1303741519[/DATE] at [TIME]1303741519[/TIME] ---------------
Changed global_setup_complete to global_start and it seems to work