right now, the calendar extension miss the right date for some calendars by plus\minus day depends on the calendar native. e.g, on the jewish one, the "days come by the nights" mean 4\2\2003 evening is belongs to 5\2\2003, where the evening is function of the sunset for given day, latitude, longitude. so i wrapped sunraise,sunset functions to work with php and all looks right, now i need tight integration with some of the php_date() function for making the use of those function more simple (e.g, embed the GTM offset on the etc.) the problems here is two. 1. the php_date prototype: php_date(INTERNAL_FUNCTION_PARAMETERS, int gm) not realy comfortable for internal use. 2. the returns value is string where i need int. so i want to fork light version of the function prototyped: int php_datei(char c,int gm); btw, such a function is usefull for trivial php takes e.g, when comparing day's comes as integer without casting. is this ok? --