pyrogyne wrote:I had been having a hard time to get up in the morning.
First concerning 'had been having
it could be all right if there were a context in the past which would be the result of some action in, so to say, the pre-past , say, 'That's why my mom bought me a dog'
. Nevertheless, a sequence of past simple tenses would do, I think.
Second about Infinitive 'to get up'
Infinitive is the name of the purpose and expresses rather intent than a state. I would use Gerund in this sentence - Gerund is viewed as an object and, therefore, the given, say:
"Try to use the key"
could mean one doesn't know what to do with the key in his hand (an action).
"Try using the key"
could mean the door doesn't open otherwise (a tool).
In your example, void of any context, I would say:
I had a hard time getting up in the morning.
If it helps,
PS: Another version: "I used to have..."