Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Date format problem

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-29-2010, 03:44 AM
Senior Member
 
Join Date: Mar 2008
Location: Dhaka, Bangladesh
Posts: 164
Default Date format problem

Hi,

Attached is a sample application where the problem occurs when the DateTimePicker date happens on the same date or later than the date stored (with timestamp) in the database.

I have used two diffrent date format in the application, because the age of individual stored in the database (not shown) is in "dd/mm/yyyy" format. "agecal" calculates the age.

if the date is current one then ask for confirmation, works OK.

if the date happens before the date (l_update) stored in the database then ask for confirmation, works OK.

Please have a look and help.


regards,
Attached Files
File Type: sbp Head_ch.sbp (2.7 KB, 6 views)
Reply With Quote
  #2 (permalink)  
Old 01-29-2010, 11:22 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Not sure I understood the problem.
I recommend you to declare the columns as TEXT instead of date. It may solve your problem.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Date Format Zenerdiode Forum Discussion 7 12-22-2009 07:02 PM
Calendar date format Caravelle Questions (Windows Mobile) 2 11-06-2009 11:14 PM
Date format skipper Questions (Windows Mobile) 4 09-21-2009 05:03 PM
SQLite Date format changes mikewhite Questions (Windows Mobile) 3 06-23-2009 08:28 AM
Date format problem Scubaticus Questions (Windows Mobile) 10 07-03-2007 05:32 PM


All times are GMT. The time now is 10:43 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0