Java Second secondsFromBeginningOfBoardcastEpoch()

Here you can find the source of secondsFromBeginningOfBoardcastEpoch()

Description

seconds From Beginning Of Boardcast Epoch

License

Open Source License

Declaration

public static int secondsFromBeginningOfBoardcastEpoch() 

Method Source Code

//package com.java2s;

public class Main {
    public static final long BEGINNING_OF_BOARDCAST_TIME = 1319231131793L;

    public static int secondsFromBeginningOfBoardcastEpoch() {
        return (int) ((System.currentTimeMillis() - BEGINNING_OF_BOARDCAST_TIME) / 1000);
    }//from   w  w  w. j  a va2 s .  c o m
}

Related

  1. seconds(int num)
  2. seconds(int s)
  3. seconds(int seconds)
  4. secondsAfterMidnightToClock(int secondsAfterMidnight)
  5. secondsAgo(int seconds)
  6. secondsSince(final long since)
  7. secondToString(long second)
  8. stringToSeconds(String string)
  9. strTimeToSeconds(String hmsTimes)