How to convert java.sql.timestamp to LocalDate (java8) java.time? -


जावा 8 में, मैं एक टाइमस्टैम्प ( java.sql < / Code>) को स्थानीय दिनांक ( java.time ) में

आप ऐसा कर सकते हैं:

  टाइमस्टैम्प.लोकलडेटाइम ()। ToLocalDate ();    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -