A few energy providers charge less for using electricity at certain times of day (or night). These off-peak hours tend to be quieter periods, for example, between the hours of 10pm and 8am.
But most energy suppliers charge a flat rate for electricity. So, no matter what time you turn on the dishwasher, it will cost you the same.