Android Calendar Get GetCurrentTime_UTCSeconds()

Here you can find the source of GetCurrentTime_UTCSeconds()

Description

Get Current TimUTC Seconds

Declaration

public static int GetCurrentTime_UTCSeconds() 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static int GetCurrentTime_UTCSeconds() {
        Calendar c = Calendar.getInstance();
        int seconds = c.get(Calendar.SECOND);
        return seconds;
    }/*from  ww w .  j  a v a2 s.  c  om*/
}

Related

  1. GetCurrentTime_String()
  2. GetCurrentTime_UTCMilliSeconds()
  3. getCurrentMonth()
  4. getCurrentTimeStr()
  5. getCurrentWeek()
  6. getCurrentWeek()