Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live
↧

How to have timestamp using UTC with each timestamp 3 minutes apart with the...

I'm doing a schema that includes 240 records with each record having a timestamp. How can I have the last record be the current time with each previous record 3 minutes apart? Can the date also be...

View Article


How to have timestamp using UTC with each timestamp 3 minutes apart with the...

Hi @eddie_nuneztAssuming you have the default row as id row number, then add a field of type formula and set the formula to be:now().utc-minutes((240-id)*3)https://www.mockaroo.com/f0f93f40

View Article


How to have timestamp using UTC with each timestamp 3 minutes apart with the...

@mp_np , thanks for the suggestion. I wasn't able to get it to work doing that; do you happen to have an example schema?

View Article

How to have timestamp using UTC with each timestamp 3 minutes apart with the...

Hi @eddie_nunezt try https://www.mockaroo.com/f0f93f40 - I've set it to 100 so you can view it working in the preview, but just replace 100 with 240 in your example. You need to scroll down to the...

View Article

How to date entry with additional condition

Hi @shiv create Custom List with your status codes, named status create hidden date field for each random date you want to generate, named _dategen set entry date or expiry date as formula and enter...

View Article


Need help with below query

Try case status when 'T-3' then date('09/01/2014') when 'A-3' then date('03/08/2014') when 'B-2' then date('02/10/2014')end see https://www.mockaroo.com/b8f89760

View Article

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

@nhills Use the .to_date function: (now() +days(random(10,20))).to_date see example:https://www.mockaroo.com/ebbf8c50

View Article

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

Excellent, thanks, just what I needed

View Article


How to have timestamp using UTC with each timestamp 3 minutes apart with the...

@mp_np , now I'm realizing why you mentioned "assuming you have default row as 'id row number'". It works well the way you used it, however, I'm working with a json object with an array that will...

View Article


How to have timestamp using UTC with each timestamp 3 minutes apart with the...

Hi @eddie_nunezt. To share a schema, you need to use the Share link which is below the download and preview buttons. Schemas under your own login look like this:...

View Article

Minutes & Seconds functions

HelloCan you please show me how to use hours & minutes & seconds function I need to extract these information from a dateSimilar to year / month / dayThx

View Article

Minutes & Seconds functions

Hi @jessejames3Assuming your date field is called datetime (in my example I set this as a date wth SQL datetime as the type) then simply use:datetime.hourdatetime.mindatetime.secrespectively. An...

View Article

Is there a way to pick profile images from sites like uifaces.com?

bump. I am also interested

View Article


Is there a way to pick profile images from sites like uifaces.com?

This site has users with simple image urls - https://randomuser.me/photosby converting the gender to 'men' or 'women' and adding a random number generator from 1-99 I've got an image URL. You may need...

View Article

Concatenate string and GUID

Trying to figure out if I can concatenate a string and a GUID. Is there a way to use a guid in a formula? Thanks,Shay

View Article


Generate an ISODate value without the quote

How can I generate a template or function the returns a value like the sample below.. {"id":1,"first_name":"Yanaton","last_name":"Kees","IsoDate": ISODate('2018-04-22T12:52:33.336Z')} NOTE: ISODate...

View Article

Generate a JSON value

How do I generate a JSON value like below {"id":1,"name": { "full_name" : "Kees, Yanaton", // Mockaroo generated value using function/formula "first_name" : "Yanaton", // Mockaroo generated value...

View Article


Generate an ISODate value without the quote

My bad - there is a MongoDB ISO function

View Article

How to have timestamp using UTC with each timestamp 3 minutes apart with the...

@mp_np , perhaps I'm not setting up my json arrays correctly? I have the parent object names "dataTypes" that only appears once, in that object I have a list that displays the value and timestamp. If...

View Article

How to have timestamp using UTC with each timestamp 3 minutes apart with the...

Hi @eddie_nunezt - as your rows are within the JSON array, you need the rownumber hidden field to be within the JSON array so it increments. See modified example of yours: https://mockaroo.com/624399a0

View Article
Browsing all 2665 articles
Browse latest View live