Skip to content

Instantly share code, notes, and snippets.

Last active October 29, 2019 07:18
What would you like to do?
import React, {Component} from 'react';
import {View, Text, StyleSheet} from 'react-native';
import moment from 'moment';
export default class App extends Component {
constructor(props) {
this.state = {};
render() {
return (
<View style={styles.container}>
<Text>Current Date: {moment().format()} </Text>
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'white',
justifyContent: 'center',
alignItems: 'center',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment