Although the default header file will show dueDate for a particular version of a gateway test, the reported name for the assignment omits the version/test number.
I.e., the textual content of $setNumber could be
Diff-Skills, test 3
while $formattedDueDate will show when this version closes rather than the later date when the whole test process concludes. (FWiW: my actual headers use Danny Glin's nifty set of Header File Variables, http://webwork.maa.org/wiki/Header_File_Variables, to present such date-and-time info in a more readable fashion. [DG: thanks yet again!])
WeBWorK Main Forum
gateway test -- bug, authoring, use
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day