将数组元素推入mongoose&的node.js

时间:2015-07-21 02:56:21

标签: arrays mongoose

我可以使用Push在Array元素中推送数组元素吗?

                String TIME_SERVER = "time.nist.gov";
                NTPUDPClient timeClient = new NTPUDPClient();
                InetAddress inetAddress = InetAddress.getByName(TIME_SERVER);
                TimeInfo timeInfo = timeClient.getTime(inetAddress);
                NtpV3Packet message = timeInfo.getMessage();

                //get the utc long from the server
                long serverTime = message.getTransmitTimeStamp().getTime();

0 个答案:

没有答案