Ui Engineer Interview Questions

4,057 ui engineer interview questions shared by candidates

Write a program that generates string like "x seconds ago", "x minutes ago", "x hours ago", "x days ago". The input to the function is past time in milli seconds. For eg. If current time is 9:00 AM and pastTimeInMilliSeconds is 8:00 AM in milliseconds then output should be "1 hour ago". ex. is 122334567888999 function getTime(pastTimeInMilliSeconds) { }
avatar

UI Engineer

Interviewed at MobileIron

3.6
Apr 5, 2016

Write a program that generates string like "x seconds ago", "x minutes ago", "x hours ago", "x days ago". The input to the function is past time in milli seconds. For eg. If current time is 9:00 AM and pastTimeInMilliSeconds is 8:00 AM in milliseconds then output should be "1 hour ago". ex. is 122334567888999 function getTime(pastTimeInMilliSeconds) { }

Viewing 3461 - 3470 interview questions

Glassdoor has 4,057 interview questions and reports from Ui engineer interviews. Prepare for your interview. Get hired. Love your job.