简体   繁体   中英

oracle pl sql actual date writing as in excel

How to write actual date in oracle pl sql

EOMONTH(Today())?

I know that Today() fuction is SYSDATE, but will it give me the in last day of month format?

The function LAST_DAY returns the last day of the month for the date that is passed as argument.

koen>SELECT last_day(sysdate) FROM dual;

   LAST_DAY(SYSDATE) 
____________________ 
31/03/22             

koen>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM