Java SQL Time Create getSysTime()

Here you can find the source of getSysTime()

Description

get Sys Time

License

Apache License

Declaration

public static Timestamp getSysTime() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.sql.Timestamp;

import java.util.Calendar;

public class Main {
    public static Timestamp getSysTime() {
        Timestamp sys_time = new Timestamp(Calendar.getInstance().getTimeInMillis());
        return sys_time;
    }//ww  w.j  a  v  a2s. co m
}

Related

  1. getSQLTimeFromString(String s)
  2. getSqlTimeFromTimeNumber(int time)
  3. getSysDateTimeMillis()
  4. getSystemCurrentTimeMillis()
  5. getSystemTimeGMTToday()
  6. getThisWeekStartTime()
  7. getTime()
  8. getTime()
  9. getTime(final int hour, final int minute, final int second)