Results 1 to 2 of 2

Thread: Question regarding ABVFP date() language
      
   

  1. #1
    dannysheps@hotmail.com is offline Second Lieutenant
    Join Date
    Feb 2008
    Posts
    138

    Default 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

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49