- First convert the date feild into the datetime field format
- The getTime() in the datetime class will returns the number of milliseconds of a given date starting from January 1, 1970, 00:00:00 GMT.
Source Code:
Date todayDate = Date.today(); DateTime todayDateTime = DateTime.newInstance(todayDate.year(),todayDate.month(),todayDate.day()); string longTime =String.valueOf(todayDateTime.getTime()); System.debug('Date in long time string..'+logTime);
Hope this helps you..Enjoy..!
Please comment or write us if you have any queries/requirements.
Please like,follow,bookmark,subscribe this site to receive daily updates.
Please like,follow,bookmark,subscribe this site to receive daily updates.
B5E238761E
ReplyDeleteSex Hattı
Ücretli Show
Webcam Show
ReplyDeleteKitap dünyasında her zaman yeni ve ilgi çekici eserler bulmak oldukça önemlidir. İnsanlar genellikle kendilerini geliştirecek veya keyifli vakit geçirecek kitaplar ararlar. Bu noktada, en çok satan kitaplar listeleri, okurların tercihlerini belirlemede büyük rol oynar. Böylece, popüler ve beğenilen kitaplar hakkında fikir sahibi olunabilir.