Java SQL Time todayBeginTime()

Here you can find the source of todayBeginTime()

Description

today Begin Time

License

Apache License

Declaration

public static Timestamp todayBeginTime() 

Method Source Code


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

import java.sql.Timestamp;

import java.time.LocalDate;

public class Main {
    public static Timestamp todayBeginTime() {
        return Timestamp.valueOf(LocalDate.now().atStartOfDay());
    }//from   w  w w  . j a  va  2  s.  c om
}

Related

  1. str2dateTime(String handedate)
  2. StrToDateTime(String val)
  3. strToTime(String strDate)
  4. toDate(TimeZone tz, int days)
  5. toDateFromTime(String time)
  6. toGMTTime(long local)
  7. toMySQLDate(LocalDateTime dateTime)
  8. toPOSIXTime(String timeString)
  9. truncateTimePartOfDate(Date date)