How to sign the hard-pen calligraphy works written today?

Hard pen calligraphy depends on the format. If you follow the vertical format of traditional calligraphy, you should also use the traditional Chinese character format.

Ding You's Book of Summer XX (not specific to a certain date)

If it is a modern horizontal version, the inscription is also an AD calendar.

20 17 Xx (and somewhere)