Level 50
@vipin93 try this..
'date_of_birth' => $faker->dateTimeBetween('1990-01-01', '2012-12-31')
->format('d/m/Y'), // outputs something like 17/09/2001
5 likes
May Sale! All accounts are 40% off this week.
I try to use faker for date of birth between specific year but its unable
'date_of_birth' => $facker->date($format = 'D-m-y', $max = '2012',$min = '1990'),
but its generated Thu-01-70 but I want like this 02/11/2005
than
Please or to participate in this conversation.