Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    date alter billing date is coming

    if date is coming for payment show in alter

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,542
    Thanks
    45
    Thanked 259 Times in 256 Posts
    This makes no sense?

  • #3
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Keleth View Post
    This makes no sense?
    i need code if u want to pay a bill in 15 date u shave show in php 4 days before in php ur payment date is coming

  • #4
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,542
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Still a bit confused on what exactly you're looking for, but can you show us what you have so far? Obviously this would fit into a system you already have?

  • #5
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Keleth View Post
    Still a bit confused on what exactly you're looking for, but can you show us what you have so far? Obviously this would fit into a system you already have?
    not confused if today is 10-11-2010 and my billing date is 10-15-2010
    and alter is show in 10-11-2010 billing date is coming on 15th date

  • #6
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,542
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Again, your explanation of it isn't getting across to me, as English obviously isn't your first language. Are you saying you want to show some sort of notice on a page 4 days before a billing cycle comes up? If so, basically:

    PHP Code:
    if (strtotime('-4 days'strtotime('2010-10-15')) < time()) {
    // show notice

    Notice the order of the timestamp, its important. 10-15-2010 won't work.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •