Say a student pilot is on a cross country (destination 50+ nm). WX checks out fine, everything looks good. Off he goes into the wild blue yonder. Unfortunately, when he gets near his destination, the fog has rolled in. IFR only. He turns around and goes home.
Does that count as cross country time or local only?