Home forums Using CanvasJS Just wanna share using Laravel and Canvas JS Reply To: Just wanna share using Laravel and Canvas JS

#24745

hello
i want to use created_at column on my chart as X , but it needs to be in unixtimestamp format , how can i get or convert date from database from date like this 2019-03-17 17:48:05 to 1553720114 format?
thanks