This defines a variable named "time" of the struct type, which is ok.
In C this is a syntax error, but in C++ this defines a reference-variable named "etime".
What was your intention with it?
ExpandedTime* localTime(ExpandedTime* etime);
This declares a function named "localTime", but this is not a call.
Consider a function f that takes an integer as argument and returns an integer.
You would implement it as follows (function definition and call in main):
/* Function definition */
int f(int x)
int y = 2 * x;
int a = 3;
int f(int x); /* This is redundant and would be a prototype declaration of the function f */
y = f(a); /* This is the proper function call */