Top "Java.util.date" questions

Through Java 7, the official class for representing a moment in time, using a thin wrapper around the number of milliseconds from epoch (1970-01-01).

new Date().getTime() not returning timestamp in milliseconds

I've a class which is using java.util.Date class to create a date object and using getTime() to get …

java unix-timestamp java.util.date gettime
Finding the interval between two java.util.date

Possible Duplicate: Calculating the Difference Between Two Java Date Instances hi, I have two object of type java.util.date. …

java datetime java.util.date
java util date value of string

This is a method in an EJB for adding booking, I'm trying to set a to value of String Arr …

java date java.util.date
Spring 3.0 exception converting String to java.util.Date on POST

I'm hoping someone can help me since I have been banging my head against a wall for a couple of …

json spring date smartgwt java.util.date
Java: check if a given date is within current month

I need to check if a given date falls in the current month, and I wrote the following code, but …

java date java-time java.util.date
get Year from java.util.Date

I have a date column in a Cassandra column family. When I retrieve data from this CF using datastax java …

java cassandra deprecated datastax java.util.date
Save TimeZone with Date in mongodb

I have java.util.Date field in my document class. E:g: @Document(collection = "testdoc") public class TestDoc { @Id String …

java mongodb java.util.date
How to retrieve DATETIME format from Sqlite database

I have stored date (java.util.date object) in a DATETIME field of a Sqlite table. Now, how to retrieve …

android sqlite java.util.date
Inserting date in a database using PreparedStatement in Java

I have a form which captures a date that the user input in a JFormattedTextField. Then the Date need to …

java prepared-statement java.util.date
How to convert java.util.Date to Java8 java.time.YearMonth

How can I best convert a java.util.Date to a Java 8 java.time.YearMonth? Unfortunately the following throws a …

jpa java-8 java.util.date