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
…
Son Yorumlar