I am trying to query a table for todays date based on this format mm/dd/yyyy hh:mm:ss AM/PM
I tried date() but it only returns results based on the mm/dd/yyyy formate. Any assistant is apprecaited!


Try now()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.