Traditional Culture Encyclopedia - Almanac inquiry - Q: The source code of the time expiration prompt in the php web page.
Q: The source code of the time expiration prompt in the php web page.
$ d = ceil((strtotime(‘2020-2- 19‘)-time())/3600/24);
if($ d & gt; 0){
Go along with "yes". There are $d days left before the end;
} Otherwise {
Echo "failed";
}
- Previous article:What did Lu Xun do in his early years? Can Sun Quan betroth Sun Ce's daughter to him?
- Next article:Old calendar 1996.5. 16
- Related articles
- I dreamed that my parents-in-law told me to leave their house.
- Dreaming that I want to have an operation is a sign of my refusal.
- 2O65438+July 2, 20041Yue Lao Huang Li
- What was the wedding date of 15 this May, 1990?
- The omen of dreaming of bronze mirror
- Lunar calendar 202 1.8. 10
- The omen of dreaming that I gave the chicken to someone else's house
- 【 auspicious day of the zodiac 】 2065438+July 25, 2008?
- Gregorian calendar September 26, 2008
- When is the yellow calendar suitable for blind date?