Java Time to Service Desk Time

, , , , , Sende Yorum Yap

Geçenlerde bir keresinde lazım oldu; Service Desk üzerind bir tarih kaydedecek oldum ama Service Desk’in API’sindeki metod parametre olarak double istiyordu. Ufak bir dönüşüm gerekiyormuş;

Date date = new Date();
double newDate = date.getTime()/86400000D + 25569D;

English Version;
Recently i had to set a date into Service Desk by using its API. But the method for this purpose needs a double parameter. The required double time format can be fetched with a small conversation (as it seem in the 2 line code above).

İngilizce versiyon gogol’dan ziyaretçi çekebilmek amaçlıdır :D

Paylaş - Share :
  • Twitter
  • Facebook
  • LinkedIn
  • del.icio.us
  • Tumblr
  • Diigo
  • StumbleUpon
  • Technorati
  • Google Bookmarks
  • RSS
Alakalı Yazılar - Related Posts:

“Java Time to Service Desk Time” Yazısına 2 Yorum Var

  1. ¨˜SananaAkİ BaNAneSaN(•̪●) ¨˜® Says:

    bayramın mübarek olsun taha :)

  2. ebubekir Says:

    ismail bu gogle den nasıl reklam alınıyor… bi yardımcı ol. nasıl ziyaretçi alabiliyosun. ingizlice şart mı.

Yorum Yazmayı Unutma

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in