Skip to main content

Get time before 1 second of current time in java


// 現在日時(1秒前)
LocalDateTime endDate = LocalDateTime.now();
endDate = endDate.minusSeconds(1);
// 現在日時から24時間前の日時をセット
LocalDateTime startDate = LocalDateTime.now();
startDate = startDate.minusHours(24);

Comments

Popular posts from this blog

SelfCare

 Self care is the responsibility of one to deal with or handle it elegantly, in quality humbly manner. Rare indeed is the nature that does not become a little more intense when its own affairs come under discussion. It is the cult of the self that is killing its within it the classic traits of psychopaths: superficial charm, grandiosity and self importance; a need for constant stimulation; a penchant for lying, deception and manipulation; and the incapacity for remorse or guilt. One who has never seek attention from people around or for matters from oneself. Suddenly starts to develop a habit to care for one makes the mind resistance to do the good to yourself. May it be that one decision or one step stepping out and getting most of what you always want. The thoughts you live from many many years towards perfect routine, body, shape, care healthy being is all there waiting for you to get started  But the monkey mind keeps on jumping and gets distracted from making the actual m...

No one knows

No one knows except that person himself How many efforts are needed  To do any small little thing that values How difficult is to be in state where  Everyone is blaming No one wants to accept No one knows why that person has disconnected How and what stroms might have attacked and impacted No one knows that why if a person is quite is quite No one knows if person is rude why he is so If person is ignorant then why it's so No one knows that if a person is friendly then why he is being so. Everything yes everything has some reason Ever that person might be hurt deep, cared much, been criticized, been judged, been labelled, been blamed, been ignored, been went through some very little thing that has made that individual behave that way  It's not your fault  Either it's not person's fault It's pattern of experience and also Because it's a loop of every single person  No one is exceptional. Everyone has this same kind of journey Which outcomes as...

सगळ काही कराव स वटतं देवा...

सगळ कही कराव स वटतं ... पण कधी करायची वेळ आलि की मन आरामात रमत गमत असत.. अस क़स कळतं पण सगळे कही न कळल्या सरखे वाटते, वाटलेल मनात व डोक्यात नसतान पण एवढ़ा कस कही फरक पडतो... अपण चांगल केलेल कस विसरतो आणि एक फक्त एक आशी गोष्ट जी विसराविशि असते ती न विसरतो आपल्या अवती भवती किती महान लहान मोठी आणि कौशलया असलेली माणसे असतात .. सगळ्यांना बंन्धुन असे वाटते जणु मी पण तसे व्हावे … ती लोकं किती महान व उच्च वाटायला लागतात सगळ कही करावस वाटतं एकाद लहांन मुलगा / मुलगी नवीन कपड़े किंवा खेळणी खेळताना त्यांना बघ न्याचा आनंद समावत नही ... तेव्हा पुन्हा अस वाटत की बालपन परत याव्.. थोड्या वेळात परत मनात कही मोठी आजी किंवा आजोब यांनच्या वयाच्या व्यक्तिन्न बघुन अस वाटते की किती शांन्ति ची जीवन जगाव सगळे कही महित असतं एवढ़ी वर्ष जणू जगू की नही महित नही पण ते गोड असतात असे मनाला वाटू आलं रं.. कोणाची कला तर कोनाचं संगीत किंवा कौशल्या बघून असे वाटते ...