This is when you sell an options contract and simultaneously buy one with a later expiration date and a higher or lower strike price.
For example, if your sell to open the AAPL NOV 145.00 Call and then buy to open the AAPL DEC 150.00 Call , you have created a diagonal spread.
See also: Credit Spread, Box Spread, Butterfly Spread