How to make a lookup table?

Hi I'm working on a project where arduino looks at the time,
then looks at the respective lunar phase then dims my LED array dpedning on what phase the moon is.
I know how to do most of it but doing a whole years worth of a lookuptable isn't working.

This is what I'd like to use as a lookup table somehow.

Since it gives only the start dates and I'm not good at coding I'm not sure how to accomplish this.
Jan 15 7:12 AM
For instance this is a start date,
with a word processor(since there are a ton of these in a year) I could add the term "full" or 100% or 255 PWM duty(their respective phase info arduino can utilize), but I don't know how arduino would need to utilize this information.

you could use this :

http://www.voidware.com/moon_phase.htm

Calculating should be more efficient than lookup,as memory is sparse!

Thank a bunch!

you could use this :

moon phase calculation

Calculating should be more efficient than lookup,as memory is sparse!

I was just about to say that. Often people (me included) stick to an idea too much and need someone to poke them in a more sensible direction :wink:

Mowcius