Question regarding ABVFP date() language

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dannysheps@hotmail.com
    Second Lieutenant

    • Feb 2008
    • 138

    Question regarding ABVFP date() language

    Hello
    Im using the ABVFP and after the form submission i get the date as planned in the action file.

    i wanted to know how can i make it showing days(names of days) BUT in portuguese not in English ??/

    Code:
    //------------- Find Server date and Time--------------------
     $date = date("l jS F Y, g:i A");
        $Submission_Date = date("F-D-Y");
        $Submission_Time = time();
    //----------------- Find Browser and IPaddress --------------
    And another question , is it possible to change the Form name created from the given one (e.g. _Form_Nr_2)?

    Danny
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Question regarding ABVFP date() language

    You need to add these two lines before the ones above:


    date_default_timezone_set('Europe/Lisboa');
    setlocale(LC_TIME, 'ptg');



    You might need to replace the second line with

    setlocale(LC_TIME, 'portuguese');

    just in case pgt is not recognized
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X