I want to get the current date from the server, and my database is on the server, and which function mysql now () and CURDATE () will give, whether it be a client machine or a server. Please help. this is what i did
insert into admission_fees_structure (Fee_Head_Name , Amount,Created_Date , Created_By) values (feeName, amount, now(),userID); select name into @result from sims.school_session where YEAR(Start_Date)=YEAR(CURDATE());
source share