mercredi 29 mars 2017

How to set date and time for 2 different variable?

for example:

DB::connection('mydb_oracle')->table('audit_trail')
->insert(['at_date'=>Carbon::now()->toDateString(),'time_stamp'=>Carbon::now()->toTimeString()])

How can i set the format for both date and time ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2mP2IwB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire