Quantcast
Channel: Mockaroo Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 2665

How to extract just the date part after adding some days to now()

$
0
0

I have this to generate an end date now() + days(random(10,20))
its returning dates as expected 2018-04-18 06:52:10 but including the time
I only want the date portion, how do i exclude the time


Viewing all articles
Browse latest Browse all 2665

Trending Articles