PHP date() function is used to get current date in web applications. is there a way if i click the next button, the date will continously change for the next day. What will happen when you try to get +1? Let us find out the date value of yesterday. You could use 'now' as string to get today's/tomorrow's/yesterday's date: just in case if you want next day or previous day from today's date. Calculate difference between two dates (number of days)? Why is unappetizing food brought along to space? Case against home ownership? How can I parse extremely large (70+ GB) .txt files? How do I get the current date in JavaScript? You can useGet-Date to generate a date or time character string, and then send the string to other cmdlets orprograms.Get-Date uses the computer's culture settings to determine how the output is formatted. Asking for help, clarification, or responding to other answers. PowerShell get-date format examples. DATE_RFC2822 - RFC 2822 (Fri, 12 Apr 2013 15:52:01 +0000) DATE_RFC3339 - Same as DATE_ATOM (since PHP 5.1.3) DATE_RSS - RSS (Fri, 12 Aug 2013 15:52:01 +0000) DATE_W3C - World Wide Web Consortium (example: 2013-04-12T15:52:01+00:00) timestamp: Optional. What is your question? Reference — What does this symbol mean in PHP? Some examples of date() formatting. Adding GPL classpath exception to program. A very common feature of forms is the dropdown