Have you tried adding a NSDateFormatter to the DatePickerCell (in code or in the xib) and setting its format string to what you want?
Haven't tried it, but might work... > On Jan 21, 2020, at 5:22 PM, Marco S Hyman via Cocoa-dev > <cocoa-dev@lists.apple.com> wrote: > > Is there a way to change the date format used by NSDatePicker? > > The dateValue I’m seeing, for example, is "1/20/2020 1:41:42 PM”. At a > minimum I’d like the time displayed in 24 hour mode instead of AM/PM. > Ideally I’d like the date to be “yyyy:MM:dd HH:mm:ss” because that is how it > is used elsewhere in the user interface. > > Marc _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com