Thanks for you're reply, I can see where to go now.
I can see that the Format function is the one that needs to be adjusted for my scenario, however when I follow the sources I see that the default Format function in Convert is the following:
Value Convert::Format(const Value& q) const {
if(IsVoid(q) || q.IsNull()) return String();
switch(q.GetType()) {
case INT_V:
return IntStr((int)q);
case DOUBLE_V:
return DblStr((double)q);
case DATE_V:
return ::Format(Date(q));
case TIME_V:
return ::Format(Time(q));
case STRING_V:
case WSTRING_V:
return q;
}
I'm quite new to C++ but trying to catch up quick, but I'm unsure where ::Format(Time(q)) belongs to. I can see that Time() is a declared operator function of Value(and therefore q), but I can't seem to find the definition.