Alpha Video Training
Results 1 to 3 of 3

Thread: Multiple International Date formats - in a single web application

  1. #1
    Member
    Real Name
    Robert Earl Allin
    Join Date
    Apr 2009
    Location
    Toronto, Ontario
    Posts
    241

    Default Multiple International Date formats - in a single web application

    Has anyone dealt with multiple date formats in a single application based on a user specified location?

    The application will be hosted on a single server, with multiple people logging in. I'd like them to see the information in their format, rather than a preset or server format.

    Any suggestions, comments, actual experience would be helpful.
    Earl Allin
    http://REAInc.net

    We can help you with mentoring and custom programming services in Alpha, .NET, PHP, ColdFusion, etc.
    PM me here for more information.

  2. #2
    "Certified" Alphaholic
    Real Name
    Rich Fulham
    Join Date
    May 2011
    Location
    Portland, OR
    Posts
    1,021

    Default Re: Multiple International Date formats - in a single web application

    A comment is made at the end of the following video about localizing date fields. I'm not sure what is involved on the server-side; I haven't quite figured out what the rules are in Alpha when it comes to data type conversion when going from the string data in Xbasic that I get back from the client. I find myself constantly having to slap in "convert_type" function calls in xbasic. I would be wary of dates and I'm so glad I don't have to deal with that problem.

    Text Dictionary Tags

    Part 1 of the video is located here:
    http://www.ajaxvideotutorials.com/V1...lization_1.swf

  3. #3
    Volunteer Moderator Steve Workings's Avatar
    Real Name
    Steve Workings
    Join Date
    Apr 2000
    Location
    The Dreaded Chair
    Posts
    5,609

    Default Re: Multiple International Date formats - in a single web application

    We tried it with an international application with mild success, but not completely. We provide each customer with a choice of date format, recorded in a customer preferences table, then make sure that's used in the date controls. If you only have a couple of date controls and you're not doing much with them, it'll probably be fine.

    But we have a lot of other requirements that just didn't play well at all. For instance, the customer may have a dd/mm/yyyy format, but then as a standard we display dd-MON-yy (e.g. 10-OCT-16) and it just didn't all work.

    I definitely need to revisit it sometime, but after all the work to fix the problems this all created, I just left it for a (long) while.
    -Steve


Similar Threads

  1. International date xbasic help please
    By pcaspa in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 05-09-2015, 12:51 AM
  2. International Keyboard for the alpha v12 mobile application
    By Ferenju in forum Mobile & Browser Applications
    Replies: 3
    Last Post: 11-08-2013, 12:46 PM
  3. Publishing Multiple Application on a single Application Server
    By gbenga in forum Application Server Version 11 - Web/Browser Applications
    Replies: 3
    Last Post: 11-07-2012, 06:41 AM
  4. international mailing address formats
    By martinwcole in forum Alpha Five Version 10 - Desktop Applications
    Replies: 5
    Last Post: 07-17-2011, 06:51 PM
  5. Using multiple sets of tables with a single application
    By Les in forum Alpha Five Version 9 - Desktop Applications
    Replies: 9
    Last Post: 05-19-2010, 11:01 PM

Bookmarks

Posting Permissions

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