Using S (Shutter Priority) mode provides simplicity while M (Manual) mode allows for a greater degree of control. Both give you direct control over the length of the exposure