Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a random time
ResourceFunction["RandomTime"][] generates a random time. | |
ResourceFunction["RandomTime"][n] generates n random times. | |
ResourceFunction["RandomTime"][type] generates a random time of type type. | |
ResourceFunction["RandomTime"][type,n] generates n random times of type type. |
Generate a random time:
In[1]:= | ![]() |
Out[1]= | ![]() |
Generate multiple times:
In[2]:= | ![]() |
Out[2]= | ![]() |
Generate times with minute granularity:
In[3]:= | ![]() |
Out[3]= | ![]() |
Generate times with quarter granularity:
In[4]:= | ![]() |
Out[4]= | ![]() |
Generate a single random time with half-hour granularity:
In[5]:= | ![]() |
Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License