Thread: Advice changing a function please

  1. #16
    Registered User
    Join Date
    Apr 2008
    Posts
    115

    mktime()

    It appears my date is changed by this function call. Do you think its possible this function would change a date from 12-May-2008 to 12-may-2008? I am trying to debug now.

    Code:
        if (!rt_stat)
        {
            *time_date = 0;
            *time_date = mktime(&ff_time);
            if (*time_date == -1)
                rt_stat = 7;
        }

  2. #17
    Registered User
    Join Date
    Apr 2008
    Posts
    115

    Looks like the abf form was at fault

    I found the problem and it ended up being the format of a field on an abf form. I now have a bigger problem on my hand due to dependencies. It is converting a varchar 25 column from the db into ingres isql time which is lowercase and I cant set that to varchar. Anyway thanks for everyones help!

    -Carl

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. dllimport function not allowed
    By steve1_rm in forum C++ Programming
    Replies: 5
    Last Post: 03-11-2008, 03:33 AM
  2. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  3. C++ compilation issues
    By Rupan in forum C++ Programming
    Replies: 1
    Last Post: 08-22-2005, 05:45 AM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM