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 3 of 3

Thread: Events dates!!

  1. #1
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Events dates!!

    Hi!!! I have next code:


    PHP Code:
    PHP Code:
    <? $id "month(now())"
                     if(
    $arrl["periodo"] == 0//se for s um dia 
                             
    echo $arrl["day"]." de ".trata_month($arrl["month"]); 
                       elseif(
    $arrl["periodo"] != 0)// periodo de tempo no mesmo ms 
                             
    echo $arrl["day"]." a ".($arrl["day"] + $arrl["periodo"])." de ".trata_month($arrl["month"]); 
    ...

    and to 3 more echos...

    1 an expression with separated several days of two months. Example: 25, 26 of April and 2 of May

    2 an expression with periodic time of two months. Example: 25 a 30 of April and 4 a 7 of May

    3 an expression if a event had the 26 of April a 7 of May and if the current month is May it must show " Even 7 of May"

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what exactly are you asking for?
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How to do the expressions that I refer for beyond the php code!!! Sorry!!!


  •  

    Posting Permissions

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