Hello, I am new to this forum. I have an application where I need to get todays date - preferably in Julian format. I have seen a function CAL_JULIAN but I can't figure out how to get it to work. I am aware that there are many java scripts out there to get dates but I get I am looking for something in PHP. Thanks for your help.
Patricia
the function [man]gregoriantojd[/man] could do it, but the php installation you are using must have the calendar extension installed, which you can check by running [man]phpinfo[/man] and looking for --enable-calendar in the configure options.
There's PHP code for those without the extension in the user notes for [man]gregoriantojd[/man].
Searching for "Julian Day" in these forums also turns up code.