SORU
14 Kasım 2008, Cuma


Java Sistemi.() currentTimeMillis C eşdeğer#

Java eşdeğer System.currentTimeMillis() C ne#?

CEVAP
14 Kasım 2008, Cuma


Alternatif:

private static readonly DateTime Jan1st1970 = new DateTime
    (1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

public static long CurrentTimeMillis()
{
    return (long) (DateTime.UtcNow - Jan1st1970).TotalMilliseconds;
}

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Christian Atlas

    Christian At

    26 Mart 2009
  • My Name Is Jeff

    My Name Is J

    26 ŞUBAT 2008
  • UCBerkeley

    UCBerkeley

    3 Mayıs 2006