Look at the PFC service n_cst_datetime. It has a function of_RelativeDatetime.
All you will need to do is convert your partial days into seconds, and pass. If you don't have PFC source, you could download it from sybase website, or find it with your PB installation.
// Function: of_RelativeDatetime
//
// Access: public
//
// Arguments:
// adtm_start Starting datetime point of calculation.
// al_offset Number of seconds before/after datetime to be returned.
//
// Returns: Datetime
// Relative datetime.
// If any argument's value is NULL, function returns NULL.
// If any argument's value is Invalid, function returns 1900-01-01.
//
// Description: Given a datetime, find the relative datetime +/- n seconds
Main Topics
Browse All Topics





by: shru_0409Posted on 2009-08-28 at 04:39:32ID: 25206500
could to give the sample data than i can help u