[FX.php List] Find record using 'date'

Derrick Fogle derrick at fogles.net
Wed May 9 20:50:59 MDT 2007


> the server OS, and I suspect one we missed is the time/date format.  
> I suspect that FSMA on this machine is using the system settings,  
> but we bungled them! AFAICT you can’t set it afterwards like on the  
> client OS, just like you can’t change its status from stand-alone to

This discussion has come up on the list before. AFAIK, the FMPXML API  
is just plain stuck in American date format. Even if the rest of the  
install is working properly for other date formats, the XML API will  
still only take, and return, the American mm/dd/yyyy. For anything  
besides that, you'll need to use PHP to coerce date formats.

$eurodate = date("d/m/Y",strtotime($americandate));
$americandate = date("m/d/Y",strtotime($eurodate));


Derrick Fogle
derrick at fogles.net





More information about the FX.php_List mailing list