both are definitely used in modern British English, but whilst is strange to my ears as I grew up in Ireland