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

Is it possible to generate data in hourly increments using Date type and SQL datetime

$
0
0

You can do this using a formula like:

date('1/1/2017 14:00:00') + hours(random(0, 48))

This will generate a date and time between 0 and 48 hours after 1:00pm on 1/1/2017.


Viewing all articles
Browse latest Browse all 2665

Trending Articles


FLASHBACK WITH SIRASA FM AT GALGAMUWA 2022


Mp3 Download: Mdu - Mazola


Imitation gun was fired at motorist in Leicester road-rage incident


Ndebele names


MCKINNEY EMALINE “EMMA” OF WES...


Okra & Motia — The Workshop (Prod by Hammer)


Skint TV teen to be sentenced


Moondru Mudichu 19-09-2017 – Polimer tv Serial


YOSVANI JAMES Arrested by Miami-Dade County Corrections on Jan 10, 2017


Stories • Goddess Stepmom