Add date and time using string addition - “2days 1hr 10 min”

1 Star2 Stars3 Stars4 Stars5 Stars (3)
Loading ... Loading ...

Recently while automating an application it was required for me to fill a relative date in one of the place. This meant capturing a reference date from the screen and adding a relative date to the same. The relativity of the date can be expressed in various forms as shown below
1 hr
2 days 3 hours
1 [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 706 times

Related posts:

  1. Suscribe to Email

    Enter your email address:

    Delivered by FeedBurner