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 575 times

Related posts:

  1. Suscribe to Email

    Enter your email address:

    Delivered by FeedBurner

  2. Most Viewed


  3. Sitemap

    open all | close all
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H

Your Ad Here