Unobtainable. Dialga is exclusive to Pokémon Diamond and Pearl (and their remakes). Pokémon Y has its own version-exclusive legendaries (Xerneas, Yveltal, Zygarde) but does not include Dialga.
To get Dialga in Gen VI, you must transfer it from a previous generation via Pokémon Bank (and now Pokémon HOME).