The international dialling code for US Virgin Islands is +1 340. Note there are no codes for individual towns and cities in US Virgin Islands.
All the USA, Canada and most Caribbean countries use the NANPA telephone numbering system. International code +1
See Phone Area Lookup to convert dialling codes to local time zones.