Meaning:
If you have a devil of a time, you have a very difficult time.
Examples:
- You've been having a devil of a time with it lately, haven't you?
- You know, I'm having a devil of a time with this cheese can.
- I had a devil of a time getting to work this morning.