DateTimeDefaultFormat function
function DateTimeDefaultFormat(Const AStep: Double): String;
Unit
TeeProcs
Description
This global function returns either a Time or Date format depending if the AStep parameter is lower than one day (time) or greater (date).