Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: time format is losing AM/PM
middletree
Junior Member

Posts: 3
Registered: 7/26/2005
Location: Arlington, TX
Member Is Offline
posted on 7/26/2005 at 08:23 PM Reply With Quote
time format is losing AM/PM


I just discovered Tigra yesterday and love it so far. I am putting it into an Intranet app, and am having a problem. Because it's Intranet, you can't see the real page, but I put a static version at http:||www.middletree.net/calendar/T16200.htm which will suffice.

Scroll down that page until you see a row of 4 textboxes with little Tigra calendar buttons. The first one is labeled "Temporary Solution Provided:".

When I have a blank field there, I open the calendar, select a date, and it stores the date and time in the format I like. This page uses ASP, which stores the date in a SQL Server database.

When I pull this page up and those 4 date fields already have data in them in the database, it prefills the text field upon page load. However, SQL Server has changed the time from 24-hours format to 12-hour format, complete with AM/PM.

Note that when you click the calendar button, it puts the time into the little text box, but shaves the PM off. Thus the time of 1:30 PM becomes 1:30, which is interpreted to mean 1:30 AM.

Any help would be appreciated, and I'll throw in that I have very little JS knowledge.
View User's Profile View All Posts By User U2U Member
middletree
Junior Member

Posts: 3
Registered: 7/26/2005
Location: Arlington, TX
Member Is Offline
posted on 7/26/2005 at 09:31 PM Reply With Quote

Never mind

I wrote a VBScript function to deal with it.
View User's Profile View All Posts By User U2U Member
middletree
Junior Member

Posts: 3
Registered: 7/26/2005
Location: Arlington, TX
Member Is Offline
posted on 7/27/2005 at 02:03 PM Reply With Quote

My solution didn't work. Any help on my original question will be appreciated.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004