How to Check date is expired or not using php and count remaining days

Поділитися
Вставка
  • Опубліковано 5 жов 2024
  • Check Date is Expired or Not, if expire then count expired days or if not expire then count how many days to expire

КОМЕНТАРІ • 26

  • @novinpradhan7629
    @novinpradhan7629 3 роки тому +1

    This is one of the best videos. Right on the spot and not beating around the bushes. Thank you a lot sir.

  • @desync7
    @desync7 3 роки тому

    Best php tutorial so far, it contains all i need and even more thank you very much sir.

  • @اسلاميبیان-ظ9ب
    @اسلاميبیان-ظ9ب 5 років тому

    thank you for real work , I am from afghanistan and waiting for more and more real work not as other fake.

  • @geethavadupu1760
    @geethavadupu1760 5 років тому

    this video helped me a lot, Thank you sir.

  • @softmerit25
    @softmerit25 Рік тому

    Thanks tutorials and best video. Please, How can i implement this code to keep track a web based app hosted inside Cpanel. Like, If Expiration date reached redirect to another page, if not load the Web App. Any help on how to implement it. Thanks

  • @devSharma-wb6km
    @devSharma-wb6km 7 років тому

    nice video..keep it up..i will see your every video..

  • @vickygupta1392
    @vickygupta1392 5 років тому +1

    Very nice

  • @khamisbadru9342
    @khamisbadru9342 6 років тому

    hey, thanks for the video... What about time expired? thanks

  • @agilannadarajan4607
    @agilannadarajan4607 4 роки тому

    Hi sir, im doing inventory control system and im stuck at one part. Can you help me on how to notify the admin(owner) automatically if the product is expiring soon. More like a alert message. Thanks

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 3 роки тому

      Reminder System | Google Sheets | Conditional Formatting | Apps Script | Email Notification
      ua-cam.com/video/UZ9112PoBMQ/v-deo.html

  • @vijaymanoharlokale4351
    @vijaymanoharlokale4351 4 роки тому

    how to fetch date dynamically from database not manually i am beginner of PHP
    $exp_date="2020/10/29";
    $today_date="2020/10/20";

  • @diegoviveros05
    @diegoviveros05 5 років тому

    Thanks a lot pal..

  • @KikiDaily09
    @KikiDaily09 6 років тому +1

    can you explain the formula ? i dont get it..

    • @ArindamRoy-nextgen-syntax
      @ArindamRoy-nextgen-syntax  6 років тому

      Date format should Y-m-d or m-d-Y format
      Then convert it by using strtotime() function, get a time string
      Check the string is bigger or no, using IF statement
      Simple...
      Thanks

  • @ehdzkie_tv
    @ehdzkie_tv 4 роки тому

    what if i want to display "near to expire" when the expiration is within 3months before the expired date.

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 3 роки тому

      Alternative answer with google sheets and apps script:
      Reminder System | Google Sheets | Conditional Formatting | Apps Script | Email Notification
      ua-cam.com/video/UZ9112PoBMQ/v-deo.html

  • @pianoLee-sx9dx
    @pianoLee-sx9dx 6 років тому

    Why do you have to use strtotime before you can compare it?

    • @mauriciotoledo3323
      @mauriciotoledo3323 6 років тому

      He needs to convert the normal string to a time string before compare, thats why we call the function by strtotime

  • @ayeshashaikh5039
    @ayeshashaikh5039 4 роки тому

    How to expire link after 30 mins ?

  • @IrshadIrfan
    @IrshadIrfan 6 років тому +1

    how to get the EX date from database to this function?

  • @trilo_boy
    @trilo_boy 3 роки тому

    thx dawg

  • @suwanda6582
    @suwanda6582 4 роки тому

    thankss

  • @MDGolamAzomSarker
    @MDGolamAzomSarker 3 роки тому

    source code please