GeorgeW
1 week ago
128
8
Laravel

Date to Julian Format

Posted 1 week ago by GeorgeW

Hello,

I have the following code:

 date = "12/19/2019"
 $date = Carbon::parse($event->data['date']);

I would like to convert this to a Julian Date

20001

I just cannot find anything to easily convert this to julian.

Thanks in advance.

Please sign in or create an account to participate in this conversation.